ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Combination and enumeration functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns a combination of one or more options known by their names.
Example
// Describe the combination
ACombination is Combination
	Option1
	Option2
END

o is ACombination

// "Option1" is assigned to o
o = CombinationFromName(ACombination, "Option1")

// the combination of "Option1" and "Option2" is assigned to o
o is ACombination = CombinationFromName(ACombination, "Option1 + Option2")
Syntax
<Result> = CombinationFromName(<Combination> , <Options> [, <Parameters>])
<Result>: Combination variable
Combination variable containing the combination of options.
<Combination>: Combination variable
Name of the Combination variable to be used.
<Options>: Character string
Combination options that will be assigned to the Combination variable. If several options are used, they must be separated by the '+' operator. Example: "Option1 + Option2".
<Parameters>: Optional integer
Mode for managing the unknown options:
combinationErrorUnknownOptionUsing an unknnown option will trigger a WLanguage error.
combinationIgnoreUnknownOptionThe unknown options will be ignored.
Component: wd300vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/23/2024

Send a report | Local help