- Multithreading operating mode
In french: Enfile
Adds an element to the queue. The element is added at the end of the queue.
MyQueue is Queue of int
// Enqueue the values 1, 2 and 3
// Display the trace: 1, 2, 3
x is int
WHILE Dequeue(MyQueue, x)
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.
Multithreading operating mode
If the AdditionCompleted
property is set to True
fails and causes a WLanguage error.
This page is also available for…