[REBOL] Re: Hashes in Rebol
From: ingo:2b1 at: 9-Dec-2003 20:51
Hi Konstantin,
I guess you suffer from too much object oriented programming ;-)
>> h: make hash! [3 "three" 1 "one" 2 "two" ]
== make hash! [3 "three" 1 "one" 2 "two"]
>> select h 1
== "one"
(pay especially close attention to the order in which select, h, and 1
stay on this line ... )
And btw, please do ask all the questions you have, it's not uncommon for
even seasoned Rebolers to find something new in the answers to seemeingly
easy questions (as just happened to me with the usage of find/tail)
Kind regards,
Ingo
Konstantin Knizhnik wrote: