[REBOL] Re: Hack
From: rotenca:telvia:it at: 28-Dec-2001 21:16
Hi Gregg and all,
I forgot the un-named func, the new version of hackme follow this message.
In the example below one can see that the first time the function is called,
the name x is not assigned. I thinked that in a statement like:
do x: does [print a]
the sequence would be:
1) create func
2) assign it to x
3) do it
But the 'where field of error! seems to think different.
(I have not seen the message of Sunanda on this thread, it seems to me that
the mailing list works bad - i receive only 2/3 message/day and often with
great delay from post also 4-5 days).
do x: func ["hackme" /local myself] [
error? err: disarm try [2 / 0]
either word? myself: get in err 'where [
print ["My name is:" :myself]
myself: get myself
print "Not called using a word"
"My body is:" mold second :myself
"^/My spec is:" mold third :myself