FORMULA LANGUAGE
@If lets you execute one statement or another, depending on whether a condition is True or False. A condition is typically the comparison of values, but can also be a constant, a variable, or the result of an @function. For example:
The True and False statements take various forms, depending on their context:
variable := @If(condition; value1; value2)
@If(condition; variable := value1; variable := value2)
Note The second form is new with Release 6.
The @Do function provides a means to execute multiple statements on a True or False condition.
Example See Also