|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Arrays and Data-Structures > QUE. - Queue > QUE. - Management > QUE. - Management |
MiniRobotLanguage (MRL)
QUE.Validate
Check if the handle is valid QUE.-Handle
Intention
The QUE.Validate command checks whether a given handle is valid and points to an existing queue container.
Syntax
QUE.Validate|P1[|P2]
Parameter Explanation
P1 - (Variable)
The handle of the queue to validate.
P2 - (Optional, Variable)
This variable will store the result of the validation (1 for valid, 0 for invalid).
Returns: 1 - Que exists,
0 - Que unknown / Error
Example
'***********************************
' QUE.Validate - Sample
'***********************************
QUE.New|$$QUE
QUE.Validate|$$QUE|$$RES
DBP.Queue validation result: $$RES
QUE.End|$$QUE
QUE.Validate|$$QUE|$$RES
DBP.Queue validation result after deallocation: $$RES
ENR.
Remarks
-
Limitations:
-
See also:
•