[REBOL] Re: Passing hash keys to functions
From: tomc:darkwing:uoregon at: 28-Dec-2004 14:07
Hi Premshree
if 'select returns a series you can just again 'select form that series
>> select select hsh "a" 1
== 2
is that what you were wondering?
(where what you are reffering to as a hash could be any series in rebol)
>> h1: ["a" [ 123 456 789] "b" ["foo" "bar" "ack"] "c" "whatever"]
>> select select h1 "a" 123
== 456
>> select select h1 "b" "bar"
== "ack"
>> select select h1 "c" "e"
== #"v"
On Wed, 29 Dec 2004, Premshree Pillai wrote: