[fpc-pascal]Hex values

Marco van de Voort marcov at stack.nl
Fri Apr 23 08:57:59 CEST 2004

> How do you represent Hex values in FPX, I now I can use #141 for example
> using the ASCII value of the Hex characted converted ahead of time, but is
> there a way to send the Hex values like 0x70 for example?

hex:  $45;
oct:  &088;     // 1.9+ only
bin:  %101010;  // 1.9+ only
char: #23; or chr(23)

More information about the fpc-pascal mailing list