SetTransitText

(Engine-Level Function)

Description: Sets the information about the document file definition of an action (predicate).
Warning: This statement should be used by advanced users only since irrevocable alteration of your application may occur.
Returns: Nothing
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications
Related to: AdjustCode | GetModuleText | GetOneParmText | GetParmText | GetStateText | GetTransitText | GetVariableText | SetModuleText | SetOneParmText | SetParmText | SetStateText | SetVariableText | TextOffset | TextSize
Format: SetTransitText(Action, Mode, Value)
Parameters:  
Action
Required. Any expression for the code value of the action. This corresponds to value type VTScada Value Types.
Mode
Required. Any numeric expression for the parameter to set in the action:

Mode

Parameter

0

Script size in characters

1

Character offset of first script statement

2

Trigger size in characters

3

Character offset to trigger

4

Destination size in characters

5

Character offset to destination

Value
Required. Any numeric expression giving the new value for the parameter.
Comments: This statement may only appear in a script.