Text number conversion

stephen barncard stephenREVOLUTION2 at barncard.com
Mon Aug 17 22:10:18 EDT 2009

the x is just to show that it's a HEX 16 bit number
just do a baseconvert on  the 7B66 part.

Stephen Barncard
San Francisco

2009/8/17 Len Morgan <len-morgan at crcom.net>

> I'm talking to a microprocessor device using sockets and it returns a
> string like the following:
> 0,0x7BCC
> The first item is a status code and the number after the comma is the hex
> value expressed as ASCII characters.  It will always be 4 digits.  I can't
> seem to convert this into a number (using baseConvert).  Is there some
> conversion command that I can't find?  I need a number because I'm after
> just one or two bits in that number and I can't use "bitAnd" unless I've got
> a number to work with.
> len morgan
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

More information about the Use-livecode mailing list