Max

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

Max

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: http://www.qppstudio.net/webhelp/index.html?max.htm