Pushes an element onto the stack. The element is inserted at the top of the stack.
MyStack is Stack of int
// Push the values 1, 2 and 3
// Display the trace: 3, 2, 1
x is int
WHILE Pop(MyStack, x)
<Stack>: Stack variable
Name of the Stack variable to be used.
<Value>: Type of elements handled by the stack
Value that will be added at the top of the stack.
Multithreading operating mode
If the AdditionCompleted
property is set to True
fails and causes a WLanguage error.