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! [ 
a: 1 
b: 2 
c: 3 
d: does [print [a b c]] 
]

>> probe o
make object! [
    a: 1
    b: 2
    c: 3
    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."


~H

Pr�tera censeo Carthaginem esse delendam

--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to