SetStateText

Description:              This statement sets the information about the text of a state in a .SRC file.

Warning:                   This statement should be used by advanced users only since irrevocable alteration of your application may occur.

Returns:                    Nothing

Usage:                   Script or Steady State

Format:                      SetStateText(State, Mode, Value)

Parameters:             State    { Code value }  { required }  { no default: }

                                                Any expression for the code value of the state.

                                    Mode    { numeric }  { required }  { no default: }

                                                Any numeric expression for the parameter to set in the state:

Mode

Parameter to set

0

Character offset to beginning of state

1

Size of state text in characters

2

Character offset to first statement text

 

                                    Value    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the new value (as determined by Mode) for the state.

Comments:              

See Also:

AdjustCode | GetModuleText | GetOneParmText | GetParmText | GetStateText | GetTransitText | GetVariableText | SetModuleText | SetOneParmText | SetParmText | SetTransitText | SetVariableText | TextOffset | TextSize