The Format() function in PilotScript allows you to convert an integer into a hexadecimal number for example
myhex := Format('%X', mydecimal) ;
I recently needed to go the other way, from a hexadecimal to a decimal representation, and this isn't quite so easy. There are a number of possible ways to do this but the attached component does the conversion in Perl.
The component takes the property names to use for the hex and decimal numbers as parameters.
I thought other people might also find it useful.
Malcolm
