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