To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
MAX - Returns the maximum value of a list of expressions.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
MAX
Returns the maximum value of a list of expressions.
MAX( item [,item...] )
Usage:
I=MAX(4,X,Y)
Largest=MAX(numerals(*))
PRINT MAX(First,20,Last/3)
Cost=MAX(Win1,Win2,Lose1)
Example:
MAX.BAS
Description:
The
MAX
numeric function returns the largest value of all the values in the argument list. If an item is an array it is treated as if each element in the array were an item.
See Also:
MIN