SetParserParm
(Engine-Level Function)
Description: |
Sets the value for the last parameter on the parser stack and returns its own error code. |
Warning: |
This statement should be used by advanced users only since irrevocable alteration of your application may occur. |
Returns: |
Numeric error code |
Usage: |
Script Only. |
Function Groups: |
Compilation and On-Line Modifications |
Related to: |
Compile |
Format: |
SetParserParm(ParserStack, OpCode, Value, Offset) |
Parameters: |
|
ParserStack |
Required. Any expression for the parser stack value returned by the compiler. |
OpCode |
Required. Any numeric expression for the type of parameter to set as given by the following tableOpcode | Parameter Type |
---|
0 | Integer | 1 | Double | 2 | Text | 3 | Variable |
|
Value |
Required. Any expression. It will be evaluated as the type specified by Opcode. |
Offset |
Required. Any numeric expression for the number of characters read from the stream at this point (i.e. the value returned in the last parameter of the Compile function). |
Comments: |
The return value is the error code for this function or 0 if no error. |
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2024 All rights reserved.