On Jul 24, 2005, at 6:37, Matt Diephouse wrote:
I don't see any opcodes currently for transforming octal and
hexadecimal strings to their integer equivalents. Should there be?
Yes. Maybe:
set Ix, Sy, Ibase # Ibase = 2..36
This seems like a common language feature (at least for Parrot's
I don't see any opcodes currently for transforming octal and
hexadecimal strings to their integer equivalents. Should there be?
This seems like a common language feature (at least for Parrot's
target languages). And if there's no opcode, then I have to write the
code in PIR. :-)
Thanks.
--
matt