PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Management of multithread
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Stack variable>.Push (Function)
In french: <Variable Pile>.Empile
Pushes an element into a stack. Add element at the top of the stack.
Example
MyStack is Stack of int
 
// Push the values 1, 2 and 3
MyStack.Push(1)
MyStack.Push(2)
MyStack.Push(3)
 
// Display the trace: 3, 2, 1
x is int
WHILE MyStack.Pop(x)
Trace(x)
END
 
Syntax
<Stack>.Push(<Value>)
<Stack>: Stack variable
Name of the Stack variable to use.
<Value>: Type of elements handled by the stack
Value that will be added at the top of the stack.
Remarks

Management of multithread

If AdditionCompleted is set to True, <Stack variable>.Push fails and triggers a WLanguage error.
Component: wd260vm.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment