Sign in Join
FPDoc Onlineexperiment

TObjectQueue.Pop function

Member of TObjectQueuepublicIn unit Contnrs

Pop the first element off the queue.

Declaration

pascal
function Pop: TObject

Function result

The first element in the queue, or Nil if the queue is empty.

Description

Pop removes the first element in the queue, and returns a reference to the instance. If the queue is empty, Nil is returned.

Errors

None.

See also

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