ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Combination and enumeration 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
Checks whether an enumeration value known by its associated value is valid.
Example
// Describe the enumeration
AnEnumeration is Enumeration
Value1 = "A"
Value2 = "B"
END
 
// Returns True
EnumerationCheckValue(AnEnumeration, "A")
 
// Returns True
EnumerationCheckValue(AnEnumeration, "B")
 
// Returns False
EnumerationCheckValue(AnEnumeration, "C")
Syntax
<Result> = EnumerationCheckValue(<Enumeration> , <Value>)
<Result>: Boolean
  • True if an enumeration value known by its associated value is valid,
  • False otherwise.
<Enumeration>: Enumeration variable
Name of the Enumeration variable to be used.
<Value>: Variant
Simple value (string, integer, real, boolean, ...) associated with the enumeration value to check.
Component: wd290vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help