GetStatementNum

(Engine-Level Function)

Description: Returns the statement number for the specified statement.
Warning: This function should be used only by advanced programmers.
Returns: Numeric
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  State
Related to: GetInstance | GetState | GetStatement | GetStateText
Format: GetStatementNum(Object, Statement)
Parameters:  
Object
Required. Any expression for the module instance where the statement is located.
Statement
Required. Any expression for the code value or code pointer value which defines the statement. If this is an object value, the executing statement is used.
Comments: none