[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
StackPush()
Introduces an element into the stack
Syntax:
StackPush( aStack, xValue ) -> Nil
aStack : The created stack with StackNew()
xValue : The new value to introduce into the stack
Description:
Introduces a new element into the stack and places it as stack
head.
Return:
Nothing.
Example:
aStack := StackNew ()
StackPush ( aStack, "hello world" )
StackPush ( aStack, "bye" )
? StackHead( aStack ) // "bye"
See Also:
StackHead()
StackNew()
StackPop()
StackEmpty()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson