|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Arrays and Data-Structures > QUE. - Queue > QUE. - Management > QUE. - Management |
MiniRobotLanguage (MRL)
QUE.New
Allocate a new QUE and return its handle.
Intention
The QUE.New command creates a new queue container and returns a handle to it.
The queue can store values of a specified data type (String, Integer, or Floating-Point).
If no data type is specified, the default is String.
Syntax
QUE.New|P1[|P2]
Parameter Explanation
P1 - (Variable)
This variable will store the handle of the newly created queue.
P2 - (Optional, String)
Specifies the data type of the queue. Possible values:
• "f" - floating point number with a range of approximately +/- 3.4*10^-4932 to 1.2*10^4932, and offer 18 digits of precision
• "i" - 64-bit Integer number with a range of -9.22x10^18 to 9.22x10^18 ( -2^63 to 2^63 -1)
• "s" - Text/Strings any Data incl. Binary Data
Example
'***********************************
' QUE.New - Sample
'***********************************
QUE.New|$$QUE
DBP.New queue created with this Handle: $$QUE
'
QUE.New|$$QUE|i
DBP.New integer queue created with this Handle: $$QUE
ENR.
Remarks
-
Limitations:
-
See also:
•