REBOL Programming/maximum-of

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

USAGE:[edit]

MAXIMUM-OF series /skip size /case 

DESCRIPTION:[edit]

Finds the largest value in a series

MAXIMUM-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 CODE[edit]

maximum-of: native[
    "Finds the largest 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"
]