6.1 The Prefix Unary Operators
The ‘object’ operators usually apply for ‘object’ embedded data for
which non ‘object’ are also defined.
See The Object Type.
- the ‘+’ non op operators
- - cardinal ‘+’cardinal
- - integer ‘+’integer
- - real ‘+’real
- the ‘+’ ‘object’ non op operators
The ‘+’ operators evaluate to their operand.
- the ‘-’ arithmetic negation operators
- - cardinal ‘-’cardinal
- - integer ‘-’integer
- - real ‘-’real
- the ‘-’ ‘object’ arithmetic negation operators
The ‘-’ operators evaluate to the arithmetic negative of their operand.
- the ‘!’ logical negation operators
- - integer ‘!’cardinal
- - integer ‘!’integer
- - integer ‘!’real
- the ‘!’ ‘object’ logical negation operators
The ‘!’ operators evaluate to the logical negation of their operand.
- the ‘~’ bitwise negation operators
- - cardinal ‘~’cardinal
- - integer ‘~’integer
- the ‘~’ ‘object’ bitwise negation operators
The ‘~’ operators evaluate to the bitwise negation of their operand.
- the ‘~’ length/size operators
- - integer ‘~’text
- - integer ‘~’data
- - integer ‘~’decq
- - integer ‘~’list
- - integer ‘~’index
- - integer ‘~’record
The ‘~’ operators evaluate to the length/size of their operand.