Sign in Join
FPDoc Onlineexperiment

TObjectStack.Pop function

Member of TObjectStackpublicIn unit Contnrs

Pop the top object of the stack.

Declaration

pascal
function Pop: TObject

Function result

The top object on the stack, or Nil if the stack is empty.

Description

Pop pops the top object of the stack, and returns the object instance. If there are no more objects on the stack, Nil is returned.

Errors

None

See also

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