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
Returns a combination of one or more options known by their associated values.
Versions 22 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 22
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
// Describe the combination
ACombination is Combination
Option1 = 1
Option2 = 2
END
 
o is ACombination
 
// "Option1" is assigned to o
o = CombinationFromValue(ACombination, 1)
 
// the combination of "Option1" and "Option2" is assigned to o
o is ACombination = CombinationFromValue(ACombination, 3)
Syntax
<Result> = CombinationFromValue(<Combination> , <Value>)
<Result>: Combination variable
Combination variable containing the combination of options.
<Combination>: Combination variable
Name of Combination variable to use.
<Value>: Character string or Integer
  • If this parameter is a character string, the options are created by checking the presence of the values associated with each option in the string via a case-sensitive search operation.
  • If this parameter is an integer, the options are created by checking the presence of the bits corresponding to the values associated with each option via an option of And binary.
Component : wd240vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment