[REBOL] Re: Paths, Arrays, Assignment and other bothersome things
From: larry::ecotope::com at: 16-Dec-2001 19:01
The problem is that the path notation does not allow an element to indicate
both a GET and a SET. This will supposedly be fixed in the next version of
You could try:
poke grid/:x/:y z random true ;only get-words in path
poke pick pick grid x y z random true
or if the indices need to be calculated:
poke pick pick grid x + 5 y + 5 z + 5 random true
POKE and PICK are the native block element manipulation functions and
produce faster code than the path notation.
BTW FOR is vary slow, it is better to use REPEAT or FOREACH when possible.