Hi,
I'm trying to write a function that accepts a key as an argument, and
then returns the corresponding value.
Some code:
hsh: make hash! []
append hsh [a [1 2] b [3 4]]
get-val: func [of no] [
print hsh/#of/#no
]
the get-val function above accepts two arguments. If I pass a and 1 as
the argument it should return the value of hsh/a/1.
Thoughts?
--
Premshree Pillai
http://www.livejournal.com/~premshree
--
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.