Converting Hexadecimal in Binary

Dar Scott dsc at swcp.com
Sun Jan 11 01:20:24 EST 2004


On Saturday, January 10, 2004, at 10:46 PM, Alejandro Tejada wrote:

> Please check this handler to convert
> binary data in hexadecimal. I feel it slow.

You can move toUpper() out of the loop.

It might help to avoid the "if", they seem to take a long time.  I 
don't know if avoiding that is worth the trouble, though.  One way to 
to make the hex string and then break it up aftwards.

Dar Scott



More information about the use-livecode mailing list