16 bit numbers?
dsc at swcp.com
Sat Jun 26 10:39:59 CDT 2004
On Jun 26, 2004, at 1:20 AM, Jeanne A. E. DeVoto wrote:
> Try setting the useUnicode to true before using numToChar.
This will be in a host dependent order, so watch for that.
When using using numToChar() and charToNum() for binary conversion, you
can use division and multiplication by a power of 2 for shifting. You
can use mod and round as well as the bit ops (bitAnd, bitOr, bitXor,
bitNot) to mask data. So there is a way to do all of your binary
conversions with these.
Though there are some holes in formats, the binaryEncode and
binaryDecode functions can also handle binary conversions.
More information about the use-livecode