>> o!: make object! [
[    s: "OneTwoThree"
[    St: func [] [s]
[    ]
>> o1: make o! [
[    o1: "O1"
[    ]
>> o2: make o! [
[    o2: "O2"
[    ]
>> probe o2

make object! [
    s: "OneTwoThree"
    St: func [][s]
o2: "O2"
]
>> o2/St: "Hello"
== "Hello"
>> probe o2

make object! [
s: "OneTwoThree"
St: "Hello"
o2: "O2"
]
>> probe o1

make object! [
s: "OneTwoThree"
St: func [][s]
o1: "O1"
]

Words in objects which refer to functions are copied. Therefore the
object will be bigger than expected.

Andrew Martin
Who believes simplicity is a virtue...
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-

Reply via email to