_@ISSET |
|
_@ISSET function is used in a Logic Template to determine the state of an attribute within a selection mask. If the identified attribute is set within the attribute selection mask, a one is returned. If the identified attribute is not set within the attribute selection mask, a zero is returned.
An attribute selection mask is created using the Load Selection Mask command and is used to support filtering of results using attribute matching. The function, _@ISSET, can be used to determine whether or not the option associated with the attribute should be set in order to control processing within the logic template.
Returns
Value |
Description |
1 |
The attribute being tested is set. |
0 |
The attribute being test is not set. |
Format
_@ISSET( MaskID,
AttrID
);
Argument |
Description |
MaskID |
The ID of the selection mask being tested. |
AttrID |
The ID of the individual attribute being tested. |
Example
//Only process if feature is selected
IF ( _@ISSET( 7, 11 ) )
. . . . . . .
ENDIF