[EMAIL PROTECTED] wrote:
> Implementation: make object! [
> s: "This is s - a string"
> f: func [hello] [s]
> ]
>
> Interface: make object! [
> ; f: get in Implementation 'f ; Copies Implementation/f
Actually, you get a reference to that function. You will not copy
it.
>> obj: make object! [
[ f: func [] []
[ ]
>> b: get in obj 'f
>> print mold :b
func [][]
>> insert second :b [print "Hello"]
== []
>> print mold :b
func [][print "Hello"]
>> print mold obj
make object! [
f: func [][print "Hello"]
]
>> obj/f
Hello
>> b
Hello
Ciao,
/Gabriele./
o--------------------) .-^-. (----------------------------------o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ |
o--------------------) `-v-' (----------------------------------o