About my previous message I did a little mistake:
...
template: make object! [
f1: func [a b] [a + b]
f2: func [a b] [a * b]
v1: now
v2: []
v3: copy []
]
Could I change the template into this:
a1: func [a b] [a + b]
inst1: make template [f1: :a1]
inst2: make template [f1: :a1]
If the answer is yes, what about the scope of a and b ?
...
The last phrase should be: If the answer is yes, what about the visibility
of local variables I could define in the object from the function a1 ?
Giuseppe Chillemi
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.