525 B
525 B
6.1 Syntax of the IF-THEN-ELSE Statement
The basic syntax of the IF-THEN-ELSE statement in AVAP™ is as follows:
IF(condition, true_value, operator)
// Block of code if the condition is true ELSE
// Block of code if the condition is false END()
- condition : This is an expression that evaluates to either true or false.
- true_value : This is the value assigned if the condition is true.
- operator : This is the operator used to compare the condition with the true value.