Sign in Join
FPDoc Onlineexperiment

TOrderedList.Push function

Member of TOrderedListpublicIn unit Contnrs

Push another element on the list.

Declaration

pascal
function Push(AItem: Pointer): Pointer

Arguments

AItem

Item to add to the list.

Function result

The element added to the list.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.