FirstState

(Engine-Level Function)

Description: Sets the first state in a module.
Warning This function should be used only by advanced programmers.
Returns: Nothing
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  State
Related to:  
Format: FirstState(State)
Parameters:  
State  
Required. Any expression for the code value of the new first state.
Comments: Given that a module starts in its first state, this function will set which state within a module will considered to be first.
Seldom (if ever) used when adding features to modern VTScada applications.