Next: Binary Operator Syntax, Up: Operators [Index]

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- -
`object`‘`+`’`object`

The ‘

`+`’ operators evaluate to their operand. - -
- the ‘
`-`’ arithmetic negation operators- -
`cardinal`‘`-`’`cardinal` - -
`integer`‘`-`’`integer` - -
`real`‘`-`’`real`

- -
- the ‘
`-`’ ‘`object`’ arithmetic negation operators- -
`object`‘`-`’`object`

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- -
`integer`‘`!`’`object`

The ‘

`!`’ operators evaluate to the logical negation of their operand. - -
- the ‘
`~`’ bitwise negation operators- -
`cardinal`‘`~`’`cardinal` - -
`integer`‘`~`’`integer`

- -
- the ‘
`~`’ ‘`object`’ bitwise negation operators- -
`object`‘`~`’`object`

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. - -