Peek Method
Returns the element ( Variant ) at the front of the queue without deleting it. When the queue is empty, the value Empty is returned.
Syntax
queue.Peek()
Parameters
Name | Type | Description |
---|---|---|
queue | The name of an object of type queue |
Returns the element ( Variant ) at the front of the queue without deleting it. When the queue is empty, the value Empty is returned.
queue.Peek()
Name | Type | Description |
---|---|---|
queue | The name of an object of type queue |