[REBOL] Re: Function Context Query
From: g:santilli:tiscalinet:it at: 6-Dec-2001 19:21
Larry Palmiter wrote:
> 3) function application time
> Only after g has been executed, is the word 'a' set to NONE. The local words
> in the function only get values when the function is applied. If the values
> are determined by the arguments or refinements, or by the use of SET or a
> set-word in the body block; they assume that value, otherwise they are set
> to NONE.
Hint:
>> set [a b c] [1 2]
== [1 2]
>> a
== 1
>> b
== 2
>> c
== none
I should have not spent all this time reading emails today, ;-)
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/