GAP() Function - Generate Odd ASCII Parity
Syntax
GAP(string{,ERR=lineref})
Description
The GAP() function returns its string argument with each byte in odd parity by complementing the high-order bit of any byte containing an even number of 1 bits. Note that even parity may be generated using:
XOR(FILL(LEN(X$),$80$),GAP(X$))
Examples
>PRINT HTA(GAP($123456$))
9234D6