ActiveCode

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