[REBOL] Refinements Re:
From: allen::rebolforces::com at: 29-Aug-2000 23:22
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