Description: This function 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
Format: SetParserParm(ParserStack, OpCode, Value, Offset)
Parameters: ParserStack { Parser stack } { required } { no default: }
Any expression for the parser stack value returned by the compiler.
OpCode { numeric } { required } { no default: }
Any numeric expression for the type of parameter to set as given by the following table:
|
Opcode |
Parameter Type |
|
0 |
Integer |
|
1 |
Double |
|
2 |
Text |
|
3 |
Variable |
Value { varies } { required } { no default: }
Any expression. It will be evaluated as the type specified by Opcode.
Offset { numeric } { required } { no default: }
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.
See Also: