[REBOL] Re: array referencing
From: philb:upnaway at: 2-Oct-2002 17:31
Hi James,
You could try creting the array with 1 extra dimension
n: 4
bob: array/initial [8 8 1] 1
; this works
bob/4/:n/1: 2
Cheers Phil
=== Original Message ===
Thanks Tom,
I seem to remember using POKE back when I first started using REBOL, haven't
had to do any array work since then.
I sat down and tried to think of a better way to handle the get/set paradox
but the existing methods seem the only viable (non-complex) methods.
Pointer notation *(....): would seem too cumbersome and non-rebolish and
redirective assignment clashes with other rebol ways of doing things.
In short, POKE is good. POKE is simple and best of all it works! :P
James.