ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / How to proceed? / Programming
  • Declaration and use
  • Syntaxes
  • Example
  • WLanguage functions
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
A combination is a type of variabble containing a list of values. This type of variable is used to normalize the possible values of a parameter. For example, the developer will be able to initialize this parameter from the possible values imposed by the combination.
The variable associated with this combination can take several list values by adding them.
For more details, see Combination (Type of variable).
Declaration and use

Syntaxes

The following syntax is used to declare a combination:
CombinationName is Combination
Possible value 1
Possible value 2
Possible value 3
...
END
To use a combination that was declared beforehand, use the following syntax:
VariableName is CombinationName

VariableName = Possible value 1 + Possible value 3

Example

PossibleMode is Combination
Bold
Italic
Underlined
END
 
ParamMode is PossibleMode
 
ParamMode = Bold + Underlined

WLanguage functions

The following functions are used to handle a combination through programming:
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/27/2022

Send a report | Local help