16 bit numbers?

Jeanne A. E. DeVoto revolution at jaedworks.com
Sat Jun 26 03:20:20 EDT 2004


At 9:14 PM -0700 6/25/2004, John Rule wrote:
>I've played around with converting a 16 bit integer to binary (and back)
>using the combination of numToChar() and binaryEncode(), and I have come to
>the conclusion that I cannot 'directly' do this with numToChar()...which is
>limited to 8 bits (binaryEncode seems to NOT have this limitation). Has
>anyone else found a solution to this?
>
>It's probably something really simple...I'm just Rev'd out!

Try setting the useUnicode to true before using numToChar.
-- 
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list