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 via email to