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
Return True if at least one element of an array is True.
Versions 27 and later
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
New in version 27
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Example
arrProduct is array of Product
// Return True if at least one product is out of stock to notify the manager
IF CheckAnyTrue(arrProduct, AProduct => AProduct.Stock = 0) THEN
// alert
END
Syntax
<Result> = CheckAnyTrue(<Source> [, <Operation>])
<Result>: Boolean
  • True if at least one element of the specified array is True,
  • False otherwise.
<Source>: Array
Name of Array variable to check.
<Operation>: WLanguage procedure
WLanguage procedure to run:
  • If this parameter is not specified, <Source> must correspond to an array of booleans.
  • If this parameter is specified, the WLanguage procedure is called for each element of the array and must return a boolean.
This parameter can correspond to a local or global WLanguage procedure, an internal procedure or a lambda procedure.
Business / UI classification: Neutral code
Component: wd270vm.dll
}}
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment