[REBOL] Re: [inconsistency in object?]
From: hallvard:ystad:helpinhand at: 8-Mar-2002 21:50
Dixit pat665 (20.12 08.03.2002):
>How come that rebol/words have no 'self ?
There actually _is_ a 'self in system/words (or rebol/words, if you fancy), but it seems
to be undefined (at least with my prob: http://folk.uio.no/hallvary/rebol/prob.r, but
that may be my mistake, of course)... That's strange, indeed.
'Self may be set to any value. Did you know? Let's probe your example:
o: make object! [
d: does [print [a b c]]
>> probe o
make object! [
d: func [print [a b c]]
Now let's make a new one:
>> p: make o [
self: "007 Object. Secret Object."
>> probe p
== "007 Object. Secret Object."