Hi Larry,

you wrote:
>>> the-array/c1/c2

the-array/:c1/:c2 works.

The reason you have to retrieve c1 and c2's values explicitly, using a
get-word! value, is that the notation

a/b/c

is a legal path notation for the array

a: [b [ c 2 ] ]

in which case it returns the value 2:

>> a: [b [ c 2 ] ]
== [b [c 2]]
>> a/b/c
== 2

REBOL has no way of telling whether you mean the path the-array/c1/c2 as in

the-array [c1 [c2 2]]

or whether c1 and c2 have to be dereferenced (oh, that ugly word again!).
In this case you have to tell REBOL explicitly what you mean.

;- Elan >> [: - )]

Reply via email to