128 of 307
ZBasic System Library 118 ZX Microcontroller Family GetQueueCount 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. This implementation requires that it be an array of Byte. See Also GetQueueBufferSize, GetQueueSpace