[REBOL] Re: Patching a scheme.
From: gabriele::colellachiara::com at: 28-Jun-2005 12:00
Hi Volker,
On Tuesday, June 28, 2005, 11:38:58 AM, you wrote:
VN> No, he is saving code.
But, in that case, using WRITE is probably a better idea. Indeed,
FORM has been changed in 1.3 to produce a nice human-readable
format for objects. (I.e. to save configuration files and so on.)
The format is intended to be used in pair with CONSTRUCT.
So:
write %prot-http.r system/schemes/http/handler
edit it, add a header and so on, then:
system/schemes/http/handler: make system/schemes/http/handler load %prot-http.r
I think it would still be better to use NET-INSTALL, but for a
quick patch the above may be useful.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/