If you want to save to a file something that you will later load, I think=
(think!) you should 'save it, not 'write it.
>> help save
USAGE:
SAVE where value /header header-data /bmp /png /all
DESCRIPTION:
Saves a value or a block to a file or url.
SAVE is a native value.
ARGUMENTS:
where -- Where to save it. (Type: file url binary)
value -- Value to save. (Type: any)
REFINEMENTS:
/header -- Save it with a header
header-data -- Header block or object (Type: block object)
/bmp -- Save in .BMP format
/png -- Save in .PNG format
/all -- Save in serialized format
HY
Dixit Bruno G. Albuquerque (18.23 27.06.2005):
>To be able to set the Referer header in the HTTP request, I am trying to
>patch the HTTP scheme. I did some preliminary tests and I am having
>problems. Without changing anything in the scheme, I did this to save it
>in a file:
>
>write %http.r probe system/schemes/HTTP
>
>Then, to read it back, I did:
>
>system/schemes/HTTP: load %http.r
>
>This results in a crash (under Windows) when trying to use the HTTP
>protocol. Am I doing something wrong?
>
>-Bruno
>
>--=20
>To unsubscribe from the list, just send an email to=20
>lists at rebol.com with unsubscribe as the subject.
Pr=E6tera censeo Carthaginem esse delendam
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.