![]() ZBasic System Library
152
ZBasic Microcontrollers
Type
Function returning Integer
Invocation
GetQueueCount(queue)
Parameter
Method
Type
Description
queue
ByRef
array of Byte
The queue of interest.
Discussion
This function returns the number of bytes of data currently in the specified queue. It is useful to note that
this value subtracted from that returned by GetQueueBufferSize() indicates the remaining available
data space in the queue.
Note that before any queue operations are performed, the queue data structure must be initialized. See
the discussion of OpenQueue() for more details.
Compatibility
BasicX allows any type for the first parameter. The ZBasic implementation requires that it be an array of
Byte.
See Also
|