Key question

0 views
Skip to first unread message

Klaas-Jan Stol

unread,
Jul 5, 2005, 10:16:24 AM7/5/05
to Internals List
Hi,

currently I'm experimenting a bit with Keys. It seems that a Key *can*
be set to a number (floating point), but that this results in a
segfault, when using that key.

So:

.sub main
P0 = new .Key
P1 = new .Hash
P2 = new .Integer
# set the key to a number
P0 = 1.23
P2 = 42
P1[P0] = P2
end
.end

does not work. Is this behaviour to be expected (it's supposed not to
work), or is this just not implemented yet (it will work in the future)?

Thanks,
klaas-jan

Reply all
Reply to author
Forward
0 new messages