Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

max

max(numberList)

Value returned: the highest-valued number from the comma-separated list of numbers


Examples

max(1,2,3,4,5,6,7,8,9,10)

max(the screenRect)

max(myNumbers)

Placeholders

numberList
A comma-separated list of numbers.
1,2,3,4,5
"1.2,2.2,3.2"
In AppleScript, the list must be enclosed in brackets:
{1,2,3,4,5}


Related Topics

« ln, ln1, log2 | HyperTalk Reference | menus »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View