[REBOL] Re: Words escaping from context! help needed!
From: gabriele::colellachiara::com at: 11-Feb-2005 14:50
Hi Karol,
On Friday, February 11, 2005, 9:58:20 AM, you wrote:
KG> executor: func [ program] [
KG> use variables [ ; <-- i want to variables to be defined
KG> only here -->
KG> set variables data ; setting variables
KG> do program ; executing
KG> ]
KG> ]
KG> ]
A simple solution to your problem is:
executor: func [program] [
use variables compose [
set [(variables)] data
(program)
]
]
Regards,
Gabriele.
--
Gabriele Santilli <g.santilli-tiscalinet.it> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/