[Contents] · [Home] · [Mail]

SALIERI Language - Operator "or" (_OR)

Type:
_OR: boolean x boolean -> boolean

Call syntax:
_OR(x, y)
x or y

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

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

Example:
> TRUE or TRUE
Result= TRUE
> TRUE or FALSE
Result= TRUE
> FALSE or FALSE
Result= FALSE
> 1=0 or 3>2
Result= TRUE
> TRUE!=FALSE or TRUE
Result= TRUE

See also: Operator "not" (_NOT), Operator "and" (_AND), Operators and Expressions.


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