A queue has a header of 4 long words. The first long word is used by the OS, the second points to the end of the queue, the third points to the next location to store a byte and the 4th to the next location for a byte to be read from. The value of the pointer in sv.keyq should change with the task that is using the keyboard. Info from Adrian Dickens & Andy Pennels books.
_______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
