RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectStack.Push Method

Adds an object to the top of the stack.

Pascal
function Push(AObject: TObject): TObject;
C++
__fastcall TObject * Push(TObject * AObject);

Call Push to add an object to the stack. 

AObject is the object to add to the beginning of the stack. 

Push returns a reference to the object that was just added (AObject). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!