Skip to content

TOrderedList.Pop

Remove an element from the list.

Declaration

Source position: contnrs.pp line 153

public 
function TOrderedList.Pop : Pointer;

Description

Pop removes an element from the list, and returns the element that was removed from the list. If no element is on the list, Nil is returned.

Errors

None.

See also

Name Description
TOrderedList.Peek Return the next element to be popped from the list.
TOrderedList.Push Push another element on the list.