Skip to content

TFPSList.Last

Pointer to last non-empty item in the list.

Declaration

Source position: fgl.pp line 107

public property Last: Pointer;

Description

Last returns the value of the last non-empty item in the list. An item is considered empty if consists of TFPSList.ItemSize zero bytes.

If there are no non-empty items in the list, then Nil is returned.

See also

Name Description
TFPSList.Last Pointer to last non-empty item in the list.
TFPSList.Pack Remove empty items from the list.