[REBOL] Re: Newbie query on array indexing
From: greggirwin:mindspring at: 21-Nov-2001 16:22
<< What is best method to reference array elements using a variable
E.g. I was trying to stuff values into a 100 entry array based on
a computed subsript like this:-
arrcodes: array 100 ""
subscript: (=computed value 1 to 100)
arrcode/[subscript]: "Code stored for nn" >>
change at arrcodes subscript "Code stored for nn"
I don't know if that's the best method, but it works. :)