fn: &&
[contents]
f++ :
n++ :
Contents
Syntax
The syntax for
&&(params)
@&&(params)
Description
Note: It is typically faster to use exprtk for logical operators, plus the syntax is nicer.
f++ example
Example of
int x=3, y=7 if(&&(<(1, y), <(x, y)) console("y is greater than both 1 and x")
n++ example
Examples of
@int x=3, y=7 @if(&&(<(1, y), <(x, y)) @console("y is greater than both 1 and x")
@int x=3, y=7 @console(@&&(<(1, y), <(x, y)))
@int a=3, b=-2 @console("@&&(@>(a, 0), @>(b, 0))") @# expected output: 0