Hi Colin,

Hopefully this will give you an idea. 
we can't use the path notation of 
data-struct/"string"

but we can use it this way
path: "string"
data-struct/:path

;---Here's a modified version of your example.

data-struct: [
        this: 1
        words: [
                "some-word" [
                        title "some-title"
                    ]
            ]
        "one" [1]
        "two" [2]
        "three" [3]
        "four" [4]
]

foreach item count [probe data-struct/:item]

; result is
[1]
[2]
[3]
[4]

;-----

Cheers,

Allen K


> Thanks in anticipation
> colinb
> Colin Brizell
> IT System Development Officer
> University College Worcester
> Tel: 01905 855389
> Fax: 01905 855330
> http://www.worc.ac.uk
> 
> 

Reply via email to