|
|
|
|
|
- Multithreading operating mode
Enqueue (Function) In french: Enfile Adds an element to the queue. The element is added at the end of the queue.
New in version 2025MyQueue is Queue of int
Enqueue(MyQueue, 1)
Enqueue(MyQueue, 2)
Enqueue(MyQueue, 3)
x is int
WHILE Dequeue(MyQueue, x)
Trace(x)
END
Syntax
Enqueue(<Queue> , <Value>)
<Queue>: Queue variable Name of the Queue variable to be used. <Value>: Type of elements handled by the queue Value that will be added at the end of the queue. All types of variables can be used EXCEPT for the arrays, the associative arrays, the queues, the stacks and the lists. Remarks Multithreading operating mode If the AdditionCompleted property is set to True, Enqueue fails and causes a WLanguage error.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|