[REBOL] REP Path! as Block!
From: al:bri:xtra at: 10-May-2001 21:14
A path! datatype could act in much the same way as a block, except that the
contents
are executed immediately (instead of at a later date or not at
all).
A block! datatype is this:
"[" optional Rebol-Values separated with spaces "]"
For example:
[Test: func [Arg] [print join Arg "on end"] Test "Text"]
I believe that a path! datatype/value could be like this:
optional ":" Rebol-Value "/" Rebol-Value "/" and so on; followed by
optional ":"
and be evaluated immediately.
For example:
Test:/func/[Arg]/[print join Arg "on end"]/Test/"Text"
The above is a fairly meaningless example, but provides a interesting
possibility for the path! data-type.
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/