Home Page | | | Project Status | | | Contribute | | | Guidelines and Information |
Syntax: | x = dequeue(i)
|
Description: | Returns object x from the front of queue with id number i. |
Status: | PROPOSED |
Syntax: | enqueue(i, x)
|
Description: | Sticks object x at the end of queue with id number i. |
Status: | PROPOSED |
Syntax: | i = new_queue()
|
Description: | Initializes a new queue and returns its integer id number. |
Status: | PROPOSED |
Syntax: | i = queue_empty(i)
|
Description: | Returns TRUE (1) if queue with id number i is empty, returns 0 if it isn't. If no queue has been allocated at that id with new_queue then return -1. |
Status: | PROPOSED |