Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Newbie query on array indexing

From: jrdrp:blueyonder at: 22-Nov-2001 0:41

Greg, Brett, Thanks for your suggestions and advice. While Rebol is certainly powerful it seems to have plenty of quirks waiting to trip the unwary - maybe it gets better the more you get into it! I still could not get the following type of array element assignment reference to work (this was my original approach):- ; define array example-array: array/initial 10 "" ; define index idx: 3 ; try to set element at offset defined by index value example-array/:n : "data" Different syntax required? Thanks John