REBOL Programming/minimum-of

USAGE:Edit

MINIMUM-OF series /skip size /case 

DESCRIPTION:Edit

Finds the smallest value in a series

MINIMUM-OF is a native value.

ARGUMENTS:Edit

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

REFINEMENTS:Edit

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

SOURCE CODEEdit

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"
]
Last modified on 31 October 2012, at 14:02