Skip to content
Snippets Groups Projects
Commit b487c4e9 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

logical operators added

Rev: doc/operators/and:1.3
Rev: doc/operators/logical_and:1.1
Rev: doc/operators/logical_or:1.1
Rev: doc/operators/or:1.3
parent 5fe3c86b
No related branches found
No related tags found
No related merge requests found
......@@ -21,4 +21,4 @@ KEYWORDS
operators
SEE ALSO
`|, `^
`|, `^, &&
NAME
&& - logical and
SYNTAX
a && b
DESCRIPTION
This operator does logical 'and' between expressions. It first
evaluates a and returns zero if a is zero. Otherwise it returns
b. Note that b is not evaluated at all if a returns zero.
KEYWORDS
operators
SEE ALSO
`&, ||
NAME
|| - logical or
SYNTAX
a || b
DESCRIPTION
This operator does logical 'or' between expressions. It first
evaluates a and returns that if a is non-zero. Otherwise it
returns b. Note that b is not evaluated at all if a is non-zero.
KEYWORDS
operators
SEE ALSO
`|, &&
......@@ -21,4 +21,4 @@ KEYWORDS
operators
SEE ALSO
`&, `^
`&, `^, ||
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment