binaryEncode question

Kurt Kaufman kurtkaufman at
Thu May 2 21:49:01 EDT 2002

When I request the binary for hex "00" like so:
put binaryEncode("H2","00")

-and put the result into a field,
I get a non-printable ascii char which then reads "20" in my hex 
editor.  Shouldn't that be "00"? Other entered values appear as 
expected, for instance "4d"  appears as the ascii char "M", which will 
appear again as "4d" in the hex editor.
Is hex "00" a special case of some sort?

Thanks, Kurt

More information about the use-livecode mailing list