Removes and returns the string and object at the front of the queue. Call PopItem to retrieve an item from the queue. PopItems removes the next item from the queue (that is, the earliest item added), then returns the string and object of the deleted item.
To access the queue without removing an item, call Top or GLists.TGStringQueue.TopString.
Namespace: GLists
Delphi |
public |
Parameters
AnObject
Type: TObject
Type: String
The following code pops strings and objects off the queue until it is empty:
|