On Friday 09 February 2001 4:29 pm, Oldham, Adam wrote:
OK, maybe I need a little more detail.
I have some C functions called from Pascal that write to a pointer to packed array of chars. Alot of what they write is 0x80 0x3a, etc. When it comes back into pascal, I would like to run the result through an IF statement to check the hex value in the character. With the old compiler we were allowed to do this: IF (character = '/8a') THEN
Like I said, use CHR:
IF character = CHR(16#8a) THEN
Or am I misunderstanding you?