Jump to content

Rebol Programming/minimum

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
MINIMUM value1 value2 

DESCRIPTION:

[edit | edit source]

Returns the lesser of the two values.

MINIMUM 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]
minimum: native[
    "Returns the lesser of the two values." 
    value1 [number! pair! char! money! date! time! tuple! series!] 
    value2 [number! pair! char! money! date! time! tuple! series!]
]