> > Actually, I'm not sure that works. Replace: >> urlText$ = blank$ >> with: >> urlText$;256 = @blank$ >> to be sure. > >Thanks for the response Robin, but it didn't work... that is, if I did >things correctly. In fact, I got 'File not found' errors for all 20 URLs. > >Added code was like so.... > >FOR x% = 1 to 255 > blank$ = blank$ + "0" >NEXT > >FOR x = 1 to 20 > urlText$;256 = @blank$ > urlText$ = EDIT$(x) > stat = FN URLSIMPLEDOWNLOAD(#@urlText$+1,#_nil,dH&,of&,_nil,uc&) > > 'blah > 'blah > 'blah >NEXT > I don't think that Robin was suggesting the character 0 but a "nothing". If you look at the snip provided, the CLEAR LOCAL means that all variables are zeroed (hence Blank$ = zip) If you dont change blank$ it will always be thus. thus on each loop doing urlText$;256 = @blank$ would zero urlText$ What your snip does is set urlText$ to 0000000000000000.... which is not the same thing. Your finding that now no URL's work supports the solution that Robin is suggesting since now all your strings start off with 255 0's Did you test with CLEAR LOCAL ? Why this is a problem - that will require real insight of which I have none. I do note that the length byte is being skipped in the passed string. HTH David PS You could try urlText$ = "" to zero the variable... -- ----------------------------------------------------------------------- Dr David Cottrell School of Psychology James Cook University Let my words be as honey, for tomorrow I will probably have to eat them. -----------------------------------------------------------------------