MAX

m = MAX (var1 [, var2, …, varN)

MAX returns the maximum value of the given parameters var1 to varN. Parameters can be numbers, arrays or strings.

Example

print MAX(3, 4, 8)                  ' Output: 8
print MAX("abc","def")              ' Output: def
x = [-1, 5, 8]
print MAX(x)                        ' Output: 8
print MAX(x, 2, 9)                  ' Output: 9
Math
If there is insufficient information on this page and you wish learn more about MAX, please send an email to smallbasic@gmail.com. You can help to improve information about MAX by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.