[REBOL] problems with local vars??? Re:(6)
From: al:bri:xtra at: 19-Aug-2000 9:58
> Rebol functions are a dialect which is interpreted...
Yes. Rebol functions are merely words and blocks. For example:
BodyBlock: [print Arg]
append/only ArgBlock [string!]
MyFunc: func ArgBlock BodyBlock
MyFunc "This is my Arg."
See that 'ArgBlock and 'BodyBlock are just Rebol blocks. Look at the
>> source MyFunc
MyFunc: func [Arg [string!]][print Arg]
It really is as simple as that.
I hope that helps.
See Rebol, do Rebol, know Rebol...