Introduces a sequence of logic statements to execute if a specified conditional expression is evaluated as true. This sequence of logic statements is terminated by an Arrays, End, EndExit, or EndNoPrint logic statement following the If logic statement. If is the preferred usage of the DoWhen logic command.
IF { expression | class_attribute [NOT] NUMERIC } <logic_block> [ ELSE <logic_block> ] END | ENDEXIT | ENDNOPRINT
Option | Description |
---|---|
expression | The conditional expression to evaluate. |
class_attribute | When used with the NUMERIC keyword, If should only be used with an attribute name. |
Specifies a uniform initialization value for a variable across all host platforms.
INITIALIZE variable [ initialization_value ]
Option | Description |
---|---|
variable | The variable to initialize. This must be a scalar variable. |
initialization_value | The initialization value. |
Inserts an insertable class into the current class. The Insert logic command can also insert a report into another report, but the inserted report must not contain any logic
INSERT insertable [ (<mapping> [ & <mapping> […n]]) ] <mapping> := insertable = class_name
Option | Description |
---|---|
insertable | An insertable class. |
mapping (first) | Map the identifier (as referenced by the insertable class) to the qualifier (as referenced by the current class). This command clause is restricted to instances where an insertable class is inserted. |
mapping (second) | Map the identifier (as referenced by the insertable class) to the qualifier (as referenced by the current class). This command clause is restricted to instances where an insertable class is inserted. |