prefix | operator |
Syntax | A prefixOperator is one of:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | A prefix operator is placed before a value or operand to produce another value. For example, if the value of x is seven, then -x is negative seven. There are also infix operators such as multiplication (*) and addition (+), which are placed between two values to produce a third value. See infix operator. The + and prefix operators can be applied only to numeric values (integer, real and natural numbers). The not prefix can be applied only to true/false (boolean) values. For example not (x > y) is equivalent to x <= y. The not operator produces true from false and false from true. The # operators is a type cheat (see cheat), and the ^ operator is pointer following (see pointer).
|