This wont work when a value matches the key you are looking for and occurs prior
to the key you are looking for.





[EMAIL PROTECTED] on 09/14/2000 08:24:51 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
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.







Reply via email to