[REBOL] Re: 'use question
From: gscottjones:mchsi at: 30-Oct-2002 5:33
From: "Maarten Koopmans"
> COnsider the following code:
> f: use [ b ][b: 10 does [ b + 1 ]]
> How can I access b later on directly?
> Or: How can I access local variables of a use block later on?
Here is one way:
f: use [ b ][b: 10 does [ b + 1 ]]
;value after execution
f ;== 11
;getting to b
do first second :f
set first second :f 12
;recheck value of f after execution
Hope that makes sense.