(Engine-Level Function)
| Description: | ActiveState returns the code value of the active state in the given module instance. | 
| Returns: | Code Value (See: VTScada Value Types) | 
| Usage:  | Script or steady state. | 
| Function Groups: | Compilation and Online Modifications, States | 
| Related to: | ActiveCode | ActiveWindow | CurrentWindow | StateName | ModuleFileName | 
| 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 and state that is the active statement in the given module instance (object value). | 
Example:
State = ActiveState(Self());
