[REBOL] Re: Newbie query on array indexing
From: ammonjohnson:y:ahoo at: 22-Nov-2001 17:31
The problem is NOT with paths! It is the fact that you are trying to GET a
word & SET the *same* word, try this:
>> :a:
>> :a:
** Syntax Error: Invalid word -- :a:
** Near: (line 1) :a:
You see it is the word not the path! Now I was going to give you a miracle
cure, but that seems beyond me. Can anyone explain the following:
>> a: context [b: 'one]
>> b: 'b
== b
>> set a/:b 'two
== two
>> a/b
== one
>> b
== b
What got set? Any ideas? It appears to me that nothing got set, what do
you see?
HTH!!
Ammon