Jump to content

Rebol Programming/maximum

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
MAXIMUM value1 value2 

DESCRIPTION:

[edit | edit source]

Returns the greater of the two values.

MAXIMUM is an action value.

ARGUMENTS:

[edit | edit source]
  • value1 -- (Type: number pair char money date time tuple series)
  • value2 -- (Type: number pair char money date time tuple series)

SOURCE CODE

[edit | edit source]
maximum: 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!]
]