Cicode Programming Reference > Cicode Function Categories > Task Functions Introduction > QueLength

QueLength

Gets the current length of the queue.

Syntax

QueLength(hQue)

hQue:

The queue handle, returned from the QueOpen() function. The queue handle identifies the table where all data on the associated queue is stored.

Return Value

The current length of the queue. If the queue is closed then 0 is returned.

Related Functions

QueClose, QueOpen, QueRead, QueWrite, QuePeek

Example

Length=QueLength(hQue);

See Also

Task Functions