[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Stack.prg
 Functions to implement a stack data structure
--------------------------------------------------------------------------------

     StackNew( ) --> aStack

     Create a new array.

     StackPush( <aStack>, <exp> ) --> aStack

     Add a new value to a stack array.

     StackPop( <aStack> ) --> value

     Remove the last element of a stack array.

     StackIsEmpty( <aStack> ) --> lEmpty

     Determine if a stack array has no elements.

     StackTop( <aStack> ) --> value

     Retrieve top stack element without removing.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson