[REBOL] [Fwd: Associative Array] Re:(2)
From: dockimbel:free at: 15-Sep-2000 12:35
[joel--neely--fedex--com] a écrit :
> With all due respect, let me suggest that we check out code snippets
> bofore posting them to the list. The suggested code is extremely
> Copyright 2000 REBOL Technologies. All rights reserved.
> >> a: make block! 1 ; could be make hash! for faster key search
> == 
> >> a/append [Key Value]
> ** Script Error: Invalid path value: append.
> ** Where: a/append [Key Value]
> >> TheValue: a/select Key
> ** Script Error: Invalid path value: select.
> ** Where: TheValue: a/select Key
> A working variation is:
> >> a: make block! 1
> == 
> >> append a [Key Value]
> == [Key Value]
> >> select a 'Key
> == Value
Man, i totally agree with you ! I apologize for this post, i was
surely a little bit drunk when i wrote that code !
DK, will keep the bottle away next time ;)