Look at the top object in the stack.
Source position: contnrs.pp line 170
public function TObjectStack.Peek: TObject; |
The top object on the stack, or Nil if the stack is empty.
Peek returns the top object of the stack, without removing it from the stack. If there are no more objects on the stack, Nil is returned.
None
|
Push an object on the stack. |
|
|
Pop the top object of the stack. |