[Contents] · [Home] · [Mail]

SALIERI Language - Operator "not" (_NOT)

Type:
_NOT: boolean -> boolean

Call syntax:
_NOT(x)
not x

Description:
The unary boolean operator "not" realises logical negation. not x is FALSE if x is TRUE, TRUE otherwise.

In expressions, "not" binds stronger than "and", but weaker than equality and relational operators.

Example:
> not TRUE
Result= FALSE
> not FALSE
Result= TRUE
> not 1=0
Result= TRUE
> not TRUE=FALSE
Result= TRUE

See also: Operator "and" (_AND), Operator "or" (_OR), Operators and Expressions.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.