Navigation:  Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >


Previous pageReturn to chapter overviewNext page

int = Max(nNumber1, ..., nNumberN)


This macro function returns the maximum value from a list of integer variables and/or litterals. The list can mix litterals and variables, or even expressions, and must contain at least one value.


Examples :


 Max(25,12,5) // result = 25

 Max(30, NumDaysInMonth(nTokenYear,nTokenMonth))


See also : Min.

Topic 174250 updated on 02-Jan-2003.
Topic URL: