Hi, I have the follwoing:

    HS: make object! [
        pre: []
        post: []
    ]

    HSA: make object! [
        H1S: make HS [level: 1]
        H2S: make HS [level: 2]
        [H3S: make HS [level: 3]]
        [H4S: make HS [level: 4]]
        [H5S: make HS [level: 5]]
        [H6S: make HS [level: 6]]
    ]

and now:

>> probe hsa

make object! [
    H1S:
    make object! [
        pre: []
        post: []
        level: 1
    ]
    H2S:
    make object! [
        pre: []
        post: []
        level: 2
    ]
]
>> probe hsa/h1s

make object! [
    pre: []
    post: []
    level: 1
]
>> probe hsa/h1s/level
1
== 1

test: 'h1s
== h1s
>> probe hsa/:test

make object! [
    pre: []
    post: []
    level: 1
]

So far so good. Now comes the problem:

>> test: to-lit-word "h1s"
== 'h1s
>> probe hsa/:test
** Script Error: Invalid path value: h1s.
** Where: probe hsa/:test

Why this? 


Robert M. Muench, Karlsruhe, Germany
    ==> ask for PGP public-key <==

  When do you want to reboot today?

Use the free portable GUI Library
OpenAmulet from http://www.openip.org

Reply via email to