[Contents] · [Home] · [Mail]

SALIERI Language - Operator "and" (_AND)

Type:
_AND: boolean x boolean -> boolean

Call syntax:
_AND(x, y)
x and y

Description:
The binary boolean infix operator "and" realises logical conjunction. x and y is TRUE if both x and y are TRUE, FALSE otherwise.

In expressions, "and" binds stronger than "or", but weaker than any other operator.

Example:
> TRUE and TRUE
Result= TRUE
> TRUE and FALSE
Result= FALSE
> FALSE and FALSE
Result= FALSE
> 1=0 AND 3>2
Result= FALSE
> FALSE=TRUE and FALSE
Result= FALSE

See also: Operator "not" (_NOT), 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.