Contents
Syntax
The syntax for
!(number param)
@!(number param)
Description
Note: It is typically faster to use exprtk for logical operators, plus the syntax is nicer.
f++ example
Example of
int a=0 console("not a: ", !(a)) =(a, 1) console("not a: ", !(a))
n++ example
Examples of
@int a=0 @console("not a: ", @!(a)) @=(a, 1) @console("not a: ", @!(a))
@int a=0 @if(!(a)) @console("condition evaluated to true") else @console("condition evaluated to false")