ActiveState

Description: ActiveState returns the code value of the active state in the given module instance.
Returns: Code Value
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: 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(readObj);