Push an object on the stack.
Source position: contnrs.pp line 168
public function TObjectStack.Push( |
AObject: TObject |
):TObject; |
AObject |
|
The object instance to push on the stack. |
The element pushed on the stack.
Push pushes another object on the stack. It overrides the Push method as implemented in TStack so it accepts only objects as arguments.
If not enough memory is available to expand the stack, an exception may be raised.
|
Pop the top object of the stack. |
|
|
Look at the top object in the stack. |