ZBasic System Library
116
ZX Microcontroller Family
Call GetQueue(inQueue, lval, SizeOf(lval))
Alternately,
Dim inQueue(1 to 40) as Byte
Dim lval as Long
Dim timeOut as Boolean
Call OpenQueue(inQueue, SizeOf(inQueue))
Call GetQueue(inQueue, lval, SizeOf(lval), 1.0, timeOut)
Compatibility
BasicX allows any type for the first parameter. This implementation requires that it be an array of Byte.
The BasicX manual indicates that the range of values for the timeLimit parameter is 0.0 to 65.536
seconds implying a 1ms resolution. This implementation has a 1.95ms resolution and a range of 0.0 to
about 127.0 seconds.
See Also