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
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 Enumeration variable to use.
<Value>: Variant
Simple value (string, integer, real, boolean, ...) associated with the enumeration value to check.
Component : wd250vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment