[REBOL] Re: =?iso-8859-1?Q?=5BREBOL=5D_R=E9f=2E_:_=5BREBOL=5D_Context_misery?=
From: ingo::2b1::de at: 5-Jun-2001 14:48
Hi Vincent,
this is a little shorter, now we need someone who's clever
enough to catch the variable in th local context ...
myfunc: func [
BlockName [string!]
/local aa
][
aa: copy [1 2 3]
set to-word BlockName copy aa
print ["aa is " mold aa]
print [BlockName "is" mold get to-word blockname]
]
>> myfunc "test"
aa is [1 2 3]
test is [1 2 3]
>> test
== [1 2 3]
kind regards,
Ingo
Once upon a time [VDEMONGODIN--CER-CA--FR] spoketh thus: