Condition
Aquarius provides only one expression for branching process control, if expression.
If expression
if is one of control flow expressions.
(if {expression1}: {expression2}...)
As show above, expression2 will be calling if expression1 evaluates to true, or do nothing.
(if {expression1}:
{expression2}..
else
{expression3}..
)
There also has an optional default else branch. expression3 will be calling while expression1 is evaluates to false.
(if {expression1}:
{expression2}..
eif {expression3}:
{expression4}..
else
{expression5}..
)
if expression supports multi comparing branches, like expression1 and expression3 shown above. They compares in order from top to bottom.