Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Sample Reference - <b>stack.prg</b> http://www.X-Hacker.org [<<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.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson