GetState

Description:              This function returns the code value for the specified state.

Warning:               For use by advanced programmers only.  Effective use of this function requires a thorough understanding of VTS programming. 

Returns:                    State code value      

Usage:                       Script or Steady State

Format:                      GetState(Module, Name, Case)

Parameters:             Module     { code value }  { required }  { no default }

                                              Any expression for the code value that defines the module.

                                    Name     { text }  { required }  { no default }

                                              Any text expression which gives the text name of the state.

                                    Case     { Boolean }  { required }  { no default }

                                              Any logical expression. If true, the name will be treated as case-sensitive; otherwise the name will be treated as case-insensitive.

Comments:              

See Also:

GetInstance | GetStatement | GetStatementNum | GetStateText