Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
Returns the bit-wise inverse of the bits of the argument. That is, the result bit is 1 when the corresponding bit in the argument is 0, and 0 otherwise.
...
Code Block | ||
---|---|---|
| ||
char2a = String.fromEbcdicHex('0007'); char2b = pjs.bitNot(char2a); if (char2b.rtrim() === String.fromEbcdicHex('FFF8BFBF').rtrim()) { result = 'yes'; } |
...
RPG Equivalent
%BITNOT()