reqExist()
This procedure checks if given object exists.
| 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 | Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” |
The procedure returns *ON if object exists or *OFF if object do not exist. Usually procedure reqExist is used in “if” statement.
Examples:
Check if object “item” exst inside “params”, if so thenget value: