ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Queue, stack, list and array functions / Queue, stack and list functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Retrieves the characteristics of a stack: types of elements and number of elements.
New in version 2025
WEBDEV - Browser code This function is now available in browser code.
Example
// Stack whose elements are instances of MyClass
MyStack is Stack of MyClass
// Retrieve the definition of the type of elements
MyDefinition is Definition
MyDefinition = StackInfo(MyStack, tiElementDefinition)
Syntax
<Result> = StackInfo(<WLanguage stack> , <Information>)
<Result>: Variant
Requested information.
<WLanguage stack>: Stack
Name of the Stack variable to be used.
<Information>: Integer constant
Information to retrieve:
tiElementDefinition<Result> is a Definition variable and it contains the definition of the type of elements.
WEBDEV - Browser codeAndroidAndroid Widget Java This constant is not available.
tiElementType<Result> is an Integer variable and it contains the type of the elements found in the stack. This result is compatible with TypeVar.
WEBDEV - Browser code This constant is not available.
tiTotalNumber<Result> is an Integer variable and it contains the total number of elements in the stack.
Component: wd300vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/22/2024

Send a report | Local help