GetStatementNum

Description:              This function 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 VTS programming. 

Returns:                    Numeric

Usage:                       Script

Format:                      GetStatementNum(Object, Statement)

Parameters:             Object     { Object value }  { required }  { no default }

                                              Any expression for the module instance where the statement is located.

                                    Statement     { code value }  { required }  { no default }

                                              Any expression for the code value or code pointer value which defines the statement. If this is an object value, the currently executing statement is used.

Comments:              

See Also:

GetInstance | GetState | GetStatement | GetStateText