Rebol Programming/minimum-of

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

MINIMUM-OF series /skip size /case 

DESCRIPTION:[edit | edit source]

Finds the smallest value in a series

MINIMUM-OF is a native value.

ARGUMENTS:[edit | edit source]

  • series -- Series to search (Type: series)

REFINEMENTS:[edit | edit source]

  • /skip -- Treat the series as records of fixed size
    • size -- (Type: integer)
  • /case -- Perform case-sensitive comparisons

SOURCE CODE[edit | edit source]

minimum-of: native[
    "Finds the smallest value in a series" 
    series [series!] "Series to search" 
    /skip "Treat the series as records of fixed size" 
    size [integer!] 
    /case "Perform case-sensitive comparisons"
]