SetStateText

(Engine-Level Function)

Description 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.
Function Groups Compilation and On-Line Modifications, States
Related to: AdjustCode | GetModuleText | GetOneParmText | GetParmText | GetStateText | GetTransitText | GetVariableText | SetModuleText | SetOneParmText | SetParmText | SetTransitText | SetVariableText | TextOffset | TextSize
Format: SetStateText(State, Mode, Value)
Parameters  
State
Required. Any expression for the code value of the state.
Mode
Required. 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

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

Comments:

None