[futurebasic] Re: [FB] URLSIMPLEDOWNLOAD error?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2000 : Group Archive : Group : All Groups

From: Robin <robinc@...>
Date: Mon, 13 Nov 2000 12:10:18 +1000
> Re following, Looking at your code, I'd say it is expecting a string
> terminator of 0. So a simple work-around is this:
> 
> CLEAR LOCAL
> DIM 255 blank$,urlText$
> LOCAL FN Urlgetter
> ...
> FOR x = 1 to 20
> urlText$ = blank$  'fill string with zeroes
> urlText$ = EDIT$(x)
> stat = FN URLSIMPLEDOWNLOAD(#@urlText$+1,#_nil,dH&,of&,_nil,uc&)
> 
> 'blah
> 'blah
> 'blah
> NEXT
> ...
> END FN

Actually, I'm not sure that works. Replace:
 urlText$ = blank$
with:
 urlText$;256 = @blank$
to be sure.
-- 
Robin
====================================================
Genesearch Pty Ltd
E-mail: robinc@...
WWW:    http://www.genesearch.com.au
====================================================