[REBOL] how is 'set' working ?
From: riachtchenko::docutec::de at: 19-Dec-2000 17:55
Hi folks,
i'm just trying some code
from Ingo,
so
>> cursor2: func [
[ commands [block!]
[ /local rules string arg
[ ][
[ string: copy ""
[ rules: [
[ any [
[ set arg string! (append string arg)
[ ]
[ ]
[ parse commands rules
[ print string
[ ]
>> cursor2 ["sascha"]
sascha
>> arg: 4
== 4
>> string: "who"
== "who"
>> set arg string! (append string arg)
** Script Error: set expected word argument of type: any-word block.
** Where: set arg string! (append string arg)
1. What is the difference, as i tried to do the same on the prompt?
>> set 'arg string! (append string arg)
== "whostring"
2. ??
Thanks
Sascha.