reqGetValue()
This procedure returns parameter value as string.
| Parameter | Type | Description | |
|---|---|---|---|
| baseNode | 1024A VARYING, VARSIZE | Mandatory | This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” |
| node | 1024A VARYING, VARSIZE | Optional, can be omited | Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” |
| valueType | 1A | Optional, can be omited | Returns type of value (see types of value) |
| exists | N | Optional, can be omited | Returns *ON if value exists, *OFF if value does not exit |
| valuePtr | POINTER | Optional, can be omited | Returns pointer in memory where value resides |
| valueLength | 10U 0 | Optional, can be omited | Returns length of value in bytes |
| unescape | N | Optional | *ON or *OFF (Default = *ON) Indicates if value must be “unescaped” means removed ‘' escape character |
The procedure returns value as string even if the value is numeric (1024A). It is up to programmer to convert string to numeric later.
Types of value:
| type | Description |
|---|---|
| O | Object |
| C | Character |
| N | Numeric |
| T | true |
| F | false |
| 0 | null |
| E | error |
| BLANK | Value does not exist |
Examples: