Mike Yaunish wrote:
> Am I doing this correctly or is there another way to initialize the
"buried" variable?

You're doing it correctly. There's a problem with Rebol here, I believe.

Use blocks to store your object code, like this:

main!: [
    name: "Mike"
    sub: make object! [
        name: "sub-name"
        function: "sub-func"
    ]
]

Then make new 'main objects like this:

main: make main! [
    ; extra code to initialise object here.
    ]

This leads to objects that have a lot of code in them, but the embedded
objects are individual to each object, not the same one.

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to