LitDev Extension API

LD3DView LDArray LDBits LDBlueTooth LDCall
LDChart LDClient LDClipboard LDColours LDCommPort
LDController LDControls LDCursors LDDataBase LDDateTime
LDDebug LDDialogs LDDictionary LDEffect LDEmail
LDEncryption LDEvents LDFastArray LDFastShapes LDFigures
LDFile LDFocus LDftp LDGraph LDGraphicsWindow
LDHID LDIcon LDImage LDInline LDIOWarrior
LDList LDLogic LDMath LDMathX LDMatrix
LDMusic LDNetwork LDPhysics LDProcess LDQueue
LDRegex LDResources LDScrollBars LDSearch LDServer
LDSettings LDShapes LDShell LDSort LDSound
LDSpeech LDStatistics LDStopwatch LDText LDTextWindow
LDTimer LDTranslate LDUnits LDUtilities LDVector
LDWaveForm LDWebCam LDWindows LDxml LDZip

LDQueue
This object provides a way of storing values.
It is similar to a stack, except that is is fist-in first-out, like a queue.
You can enqueue (add) a value to the end of the queue and dequeue (remove) the first value at the front of the queue.
You can only enqueue and dequeue the values one by one.


Dequeue Enqueue GetCount

Dequeue(queueName)
Remove (and get) the value from the front of the specified queue.
queueName The name of the queue.
returns The value from the queue.

Enqueue(queueName,value)
Adds a value to the end of the specified queue.
queueName The name of the queue.
value The value to enqueue.

GetCount(queueName)
Gets the count of items in the specified queue.
queueName The name of the queue.
returns The number of items in the specified queue.