PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 23 and later
Java This function is now available for Java applications.
New in version 23
Java This function is now available for Java applications.
Java This function is now available for Java applications.
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 variable of type Enumeration to be used.
<Value>: Variant
Simple value (string, integer, real, boolean, ...) associated with the enumeration value to check.
Component: wd270vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment