Removes and returns the item at the front of the queue. Call Pop to retrieve an item from the queue. Pop removes the next item from the queue (that is, the earliest item added), then returns the object of the deleted item.
To access the queue without removing an item, call GLists.TGQueue.Top .
Namespace: GLists
Delphi |
public |
Return Value
Type: TObject
The following code pops objects off the queue until it is empty: Delphi |
begin |
Reference•Empty |