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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 21 and later
Java This function is now available for Java applications.
New in version 21
Java This function is now available for Java applications.
Java This function is now available for Java applications.
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 variable of type Stack to be used.
<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: wd270vm.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment