[REBOL] Re: Words escaping from context! help needed!
From: gabriele::colellachiara::com at: 12-Feb-2005 16:34
Hi Ammon,
On Friday, February 11, 2005, 8:08:40 PM, you wrote:
AJ> example: make object! [
AJ> variables: [a b]
AJ> data: [1 2]
AJ> executor: func [program] [
AJ> use variables compose/deep [
AJ> set [(variables)] data
AJ> do bind load [(program)] (to lit-word! first variables)
AJ> ]
AJ> ]
AJ> ]
AJ> example/executor [print a + b]
Lack of /DEEP was my fault, but you don't need the BIND (nor does
the LOAD have any sense there) if you use COMPOSE.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/