ADT.Stack()->top()
 
   
[Top]
predef::
ADT
ADT.Stack

Method ADT.Stack()->top()


Method top

mixed top()

Description

Returns the top element from the stack, without popping it.

Throws

Throws an error if called on an empty stack.


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS