You can try this, it works:

foo: [pos: random 10x10]

f1: make object! foo
f2: make object! foo

print f1/pos
print f2/pos

--Alessandro






On 5/3/06, Gregg Irwin <[EMAIL PROTECTED]> wrote:
>
> Hi Jeff,
>
> Since REBOL is prototype-based, there's not a simple (non-duplicative)
> way to do what you want. If you use a factory function, you don't need
> to define FOO first, which saves that duplication. If you want the
> object to have an INIT function, then you can just call that from the
> factory func; still a bit duplicative though.
>
> -- Gregg
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to