1. Relational and Boolean
Commands for comparing objects and performing logical and bitwise operations.
2. Overview
Equality operators compare objects, ordered comparisons accept numbers or strings, and logical operators also support bitwise operations on integers. All commands in this category are available in PostScript Level 1 and higher.
3. Commands
| Command | Description |
|---|---|
Test two objects for equality. |
|
Test two objects for inequality. |
|
Test whether the first operand is greater than or equal to the second. |
|
Test whether the first operand is greater than the second. |
|
Test whether the first operand is less than or equal to the second. |
|
Test whether the first operand is less than the second. |
|
Compute logical or bitwise AND. |
|
Compute logical or bitwise inclusive OR. |
|
Compute logical or bitwise exclusive OR. |
|
Negate a boolean or complement the bits of an integer. |
|
Push the boolean value |
|
Push the boolean value |