ActiveCode
(Engine-Level Function)
Description: | ActiveCode returns the code value of the active statement in the given module instance. |
Returns: | Code Value (See: VTScada Value Types) |
Usage: | Script or steady state. |
Function Groups: | Compilation and On-Line Modifications, Advanced Module |
Related to: | ActiveState | ActiveWindow | CurrentWindow | StateName | ModuleFileName |
Format: | ActiveCode(Object) |
Parameters: |
Object |
Required. Any object expression to be monitored in the module instance. |
Comments: |
Seldom (if ever) used when adding features to modern VTScada applications. A code value is a combination of module, state and statement that is the active statement in the given module instance (object value). |
Example:
Stmt = ActiveCode(ReadObj);