Dixit Anton Rolls (05.40 26.02.2005):

>I don't see the need to save to and read from a file.
>You can do it all in memory [...]

Of course. But make sure you don't serve to the rebol scanner a string that=
 will be scanned before the URL is constructed. This is OK:

>> url:=
 http://ichart.yahoo.com/table.csv?s=3D^DJI&a=3D1&b=3D26&c=3D2004&d=3D1&e=3D=
25&f=3D2005&g=3Dd&ignore=3D.csv
>> url
=3D=3D=
 http://ichart.yahoo.com/table.csv?s=3D^DJI&a=3D1&b=3D26&c=3D2004&d=3D1&e=3D=
25&f=3D2005&g=3Dd&ignore=3D.csv

But this is not:

>> url: to-url=
 "http://ichart.yahoo.com/table.csv?s=3D^DJI&a=3D1&b=3D26&c=3D2004&d=3D1&e=
=3D25&f=3D2005&g=3Dd&ignore=3D.csv"
>> url
=3D=3D=
 http://ichart.yahoo.com/table.csv?s=3D%04JI&a=3D1&b=3D26&c=3D2004&d=3D1&e=
=3D25&f=3D2005&g=3Dd&ignore=3D.csv

The reason is that rebol has found "^D" to be %04 instead of #"^" alone to=
 be %5E. You need to replace #"^" before the rebol scanner gets a chance to=
 find it.

Maybe this is worth a mention to RT feedback? Maybe 'read should be able to=
 fix #"^" on its own?

HY

Pr=E6tera censeo Carthaginem esse delendam

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to