Hi Giuseppe,

>If the answer is yes, what about the visibility
>of local variables I could define in the object from the function a1 ?
>  
>
One easy solution is to hand over the object itself to the functions as 
an argument:

 >> proto: make object! [value: none]
 >> object-a: make proto [value: 1]
 >> object-b: make proto [value: 2]
 >> method: func [object] [probe object/value]
 >> method object-a
1
== 1
 >> method object-b
2
== 2
 >>

Hth,

Christian

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to