TOrderedList.Push¶
Push another element on the list.
Declaration¶
Source position: contnrs.pp line 152
public
function TOrderedList.Push(AItem: Pointer) : Pointer;
Description¶
Push adds AItem to the list, and returns AItem.
Errors¶
If not enough memory is available to expand the list, an exception may be raised.
See also¶
| Name | Description |
|---|---|
| TOrderedList.Pop | Remove an element from the list. |
| TOrderedList.Peek | Return the next element to be popped from the list. |