GetState

Description: 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 VTScada programming.
Returns: State code value
Usage: Script or steady state.
Function Groups: Compilation and On-Line Modifications,  State
Format: GetState(Module, Name, Case)
Parameters:  
Module
Required. Any expression for the code value that defines the module.
Name
Required. Any text expression which gives the text name of the state.
Case
Required. Any logical expression. If true, the name will be treated as case-sensitive. Otherwise the name will be treated as case-insensitive.
Comments: none

GetInstance | GetStatement | GetStatementNum | GetStateText