SetParameter

(Engine-Level Function)

Description: Sets a parameter in a statement.
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, Advanced Module
Related to:
Format: SetParameter(Statement, ParmNum, ParmType, Value)
Parameters:  
Statement
Required. Any expression for the statement value. May be a code value or a function value.
ParmNum
Required. Any numeric expression for the parameter number to change, beginning with 0.
ParmType
Required. Any numeric expression for the VTScada Value Types of the new parameter.
Value
Required. Any expression for the new parameter’s value.
Comments: This statement is used to modify the code for a function.