max: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
m (Macros:Functions:max moved to max: Moved out of Macros namespace)
(No difference)

Revision as of 02:55, 9 March 2009

Function max

Returns the largest number of all the numbers that have been passed in.

Usage

[h: largest = max(num, num, ...)]


Examples

    [r: max(2, 30, 4, 7)]
    [r: max(-2, -40, -100)]

Returns

   30
   -2