On Tue, 2002-09-10 at 12:01, Peter Gibbs wrote: > Attached is a sample implementation of a minor subset of > pack/unpack functionality. Code is not optimised in any way, > and error checking is basically non-existent. > > Opcodes are: > convert Sx, Iy, Iz - pack integer Iy into string Sx per type Iz > convert Ix, Sy, Iz - unpack integer Ix from string Sy per type Iz
Awesome, thanks! I'll get to writing a wrapper around that for ord, chr, sprintf, pack and unpack just as soon as I get done with the overall builtins mechanism tonight. I'll probably have something within a couple days (hard to get time to work on it). Of course, the same will have to be done for floating point, but this is a major step forward. -- Aaron Sherman <[EMAIL PROTECTED]> http://www.ajs.com/~ajs