Removes and returns the string at the front of the queue. Call PopString to retrieve an item from the queue. PopString removes the next item from the queue (that is, the earliest item added), then returns the string of the deleted item.
To access the queue without removing an item, call GLists.TQStringQueue.TopString .
Note |
---|
If there was an object associated with the string, it is not returned. You need to call GLists.TQStringQueue.PopItem(TObject) to return both. |
Namespace: GLists
Delphi |
public |
Return Value
Type: String
The following code pops strings off the queue until it is empty:
|