prothero wrote:

> Mainly, what I was wondering is if the byteToNum command is the
> correct one. In images, its the convert character to number, but
> I thought the character commands for binary data were going to
> be deprecated.

Yes, for comparing a single-byte value, byteToNum is the better choice.

Very soon charToNum may involve multi-byte sequences for Unicode, so all code that uses it where a single-byte value is needed should be updated to use byteToNum instead.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to