RAD Studio VCL Reference
|
Removes and returns the next item in the list.
function Pop: Pointer;
__fastcall void * Pop();
Call Pop to retrieve an item from the list. Pop removes the next item from the list, then returns a pointer to the deleted item.
Each TOrderedList descendant implements Pop to remove and return a specific item from the list. For example, TQueue returns the item that was added first, while TStack returns the item that was added last.
To access the list without removing an item, call Peek.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|