DEQUEUE

Synopsis
DEQUEUE queuename
Description

Outputs the least recent (oldest) thing that was enqueued onto a queue with QUEUE. This value is removed from the queue.

Example
MAKE "myqueue []
QUEUE "myqueue 1
QUEUE "myqueue 2
SHOW :myqueue
[1 2]
SHOW DEQUEUE "myqueue
1
SHOW DEQUEUE "myqueue
2

SourceForge.net Logo