[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
StackHead()
Returns the top of the FIFO stack
Syntax:
StackHead( aStack ) -> xHeadValue
aStack : The created stack with StackNew()
Description:
Returns the value of the stack top, I mean the last entered
value, without removing from stack.
Return:
The top value of the stack.
Example:
aStack := StackNew ()
StackPush ( aStack, "hello world" )
? StackHead( aStack ) // "hello world"
See Also:
StackNew()
StackPop()
StackPush()
StackEmpty()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson