7.74.1 IF_REF Parameters

COM

IS and IS_NOT

COM

The COM parameter identifies one or more component variables that are the target of the comparisons.

IS and IS_NOT

Specifies the reference expression that must be true to make the IF condition true. It can be one of these:

*NULL

Checks if the variables identified by the COM parameter are set to *NULL

*EQUAL_TO #VariableName

Checks if the variable identified by the COM parameter is equal to this variable. In other words the condition checks if both variables refer to the same component instance.

*INSTANCE_OF ClassName

Checks if the variable identified by the COM parameter is of the type identified by the class name or of the type of ancestors identified by the class name.

*KIND_OF ClassName

Checks if the variable identified by the COM parameter is of the class identified by the class name value.

 

Refer also to Specifying Conditions and Expressions.