PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Returns the highest value.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 16 and later
Universal Windows 10 App This function is now available for Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for Windows Phone applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
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 26 and later
Apple Watch This function is now available for Apple Watch applications.
New in version 26
Apple Watch This function is now available for Apple Watch applications.
Apple Watch This function is now available for Apple Watch applications.
Versions 27 and later
Java This feature is now available on arrays for Java applications.
Android This feature is now available on arrays for Android applications.
Android Widget This function is now available on arrays in Android Widget mode.
New in version 27
Java This feature is now available on arrays for Java applications.
Android This feature is now available on arrays for Android applications.
Android Widget This function is now available on arrays in Android Widget mode.
Java This feature is now available on arrays for Java applications.
Android This feature is now available on arrays for Android applications.
Android Widget This function is now available on arrays in Android Widget mode.
Example
// Plus grande valeur?
ResMax = Max(10, 15, 20) // Renvoie 20
ResMax = Max("Z", "A")   // Renvoie "Z"
Versions 24 and later
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava
// Plus grande valeur?
montableau is array of 5 int
montableau = [1,2,3,4,5]
Trace(Max(montableau))
New in version 24
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava
// Plus grande valeur?
montableau is array of 5 int
montableau = [1,2,3,4,5]
Trace(Max(montableau))
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava
// Plus grande valeur?
montableau is array of 5 int
montableau = [1,2,3,4,5]
Trace(Max(montableau))
Syntax

Calculates the maximum of values passed as parameter Hide the details

<Result> = Max(<Value 1> [, <Value 2> [, <Value N>]])
<Result>: Character string, integer or real
The greatest value passed as parameter.
<Value 1>: Character string, integer or real
Value to compare.
<Value 2>: Optional character string, integer or real
Value to compare.
<Value N>: Optional character string, integer or real
Value to compare.
Versions 24 and later
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava

Calculates the maximum of array values Hide the details

<Result> = Max(<WLanguage array>)
<Result>: Character string, integer or real
The greatest value passed as parameter.
<WLanguage array>: Array of character strings, integers or reals
Name of one-dimensional Array variable containing the values to compare.
New in version 24
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava

Calculates the maximum of array values Hide the details

<Result> = Max(<WLanguage array>)
<Result>: Character string, integer or real
The greatest value passed as parameter.
<WLanguage array>: Array of character strings, integers or reals
Name of one-dimensional Array variable containing the values to compare.
WindowsLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJava

Calculates the maximum of array values Hide the details

<Result> = Max(<WLanguage array>)
<Result>: Character string, integer or real
The greatest value passed as parameter.
<WLanguage array>: Array of character strings, integers or reals
Name of one-dimensional Array variable containing the values to compare.
Business / UI classification: Neutral code
Component: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment