Thursday, April 2, 2009

How can I convert Hex data to ASCII data?

How about IntToHex( Value , NumberOfDigits )

e.g. IntToHex( 260 , 3 ) returns '104'

or

do you mean you've got hex value 0x41 and you want to get the ascii equivalent 'A'

use chr(Value)

e.g. chr( $41 )

No comments: