dequeue

HC Data Structure Primitives Mutators dequeue
queue Predicates

dequeue queuename


outputs the least recently QUEUEd member of the queue that is the value of the variable whose name is "queuename" and removes that member from the queue.

dequeue is an alias for pop.

Examples:

q=[Hallo World]
show dequeue "q		;Hallo
show q		;[World]
show dequeue "q		;World
show q		;[]

queue Predicates