SubStatementIndex

Description:              This function returns the index of a function within the statement where it is called.

Warning:                   This function should be used by advanced users only.

Returns:                    Numeric

Usage:                   Script or Steady State

Format:                      SubStatementIndex(CodePointer)

Parameters:             CodePointer     { Code Pointer }  { required }  { no default: }

                                                Any code pointer value expression for the function.

Comments:               This function returns 0 if CodePointer is a statement.