REBOL Programming/max

USAGE:Edit

MAX value1 value2 

DESCRIPTION:Edit

Returns the greater of the two values.

MAX is an action value.

ARGUMENTS:Edit

  • value1 -- (Type: number pair char money date time tuple series)
  • value2 -- (Type: number pair char money date time tuple series)

SOURCE CODEEdit

max: native[
    "Returns the greater of the two values." 
    value1 [number! pair! char! money! date! time! tuple! series!] 
    value2 [number! pair! char! money! date! time! tuple! series!]
]
Last modified on 31 October 2012, at 14:00