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

[REBOL] Associative Array Re:(2)

From: terrence_brannon:instinet at: 14-Sep-2000 14:29

This wont work when a value matches the key you are looking for and occurs prior to the key you are looking for. [dockimbel--free--fr] on 09/14/2000 08:24:51 AM Please respond to [list--rebol--com] To: [list--rebol--com] cc: (bcc: Terrence Brannon/NYC/US/INSTINET) Fax to: Subject: [REBOL] Re: Associative Array
>Has any one made an associative arrary in Rebol? Something like: >a/Associate Key Value >TheValue: a/find Key >It would be nice to show this to people used to using associative >arrays, that Rebol can do so as well. > >Andrew Martin
a: make block! 1 ; could be make hash! for faster key search a/append [Key Value] TheValue: a/select Key That should make it ? DK.