Brett wrote:
> Rebol functions are a dialect which is interpreted...

Yes. Rebol functions are merely words and blocks. For example:
[
Rebol[]

ArgBlock: [Arg]
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
reflection:

>> source MyFunc
MyFunc: func [Arg [string!]][print Arg]

It really is as simple as that.

I hope that helps.

Andrew Martin
See Rebol, do Rebol, know Rebol...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to