PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Retrieves the characteristics of a stack: types of elements and number of elements.
Example
stMyClass is Structure
MyClassProp is int
END
 
// Stack whose elements are instances of stMyClass
MyStack is Stack of stMyClass
// Retrieve the definition of the type of elements
MyDefinition is Definition
MyDefinition = MyStack.Info(tiElementDefinition)
Syntax
<Result> = <Stack name>.Info(<Information>)
<Result>: Variant
Requested information.
<Stack name>: Stack
Name of the Stack variable to use.
<Information>: Integer constant
Information to retrieve:
tiElementDefinition<Result> is a Definition variable and it contains the definition of the type of elements.
tiTotalNumber<Result> is an Integer variable and it contains the total number of elements in the stack.
tiElementType<Result> is an Integer variable and it contains the type of the elements found in the stack. This result is compatible with TypeVar.
Component : wd250vm.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment