GetStatementNum

Description: Returns the statement number for the specified statement.
Warning: For use by advanced programmers only. Effective use of this function requires a thorough understanding of VTScada programming.
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