FindAction
(Engine-Level Function)
Action | ||||||||
Required. Any expression that gives a code value. If the code value represents a module and state, the first action will be returned. If the code value represents an action or statement, the action returned will depend on Mode. |
||||||||
Mode | ||||||||
Required. Any numeric expression for the mode. The mode is described by the following table:
If Mode is 1, and Action is the last action in the state, or if Mode is -1, and Action is the first predicate in the state, the return value is invalid. |
Comments: | This function is used to step through the actions in a state. Seldom (if ever) used when adding features to modern VTScada applications. |