REBOL Programming/difference

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

USAGE:[edit]

DIFFERENCE set1 set2 /case /skip size 

DESCRIPTION:[edit]

Return the difference of two data sets.

DIFFERENCE is a native value.

ARGUMENTS[edit]

  • set1 -- First data set (Type: series bitset date)
  • set2 -- Second data set (Type: series bitset date)

REFINEMENTS[edit]

  • /case -- Uses case-sensitive comparison.
  • /skip -- Treat the series as records of fixed size
    • size -- (Type: integer)

SOURCE CODE[edit]

difference: native[
    "Return the difference of two data sets." 
    set1 [series! bitset! date!] "First data set" 
    set2 [series! bitset! date!] "Second data set" 
    /case "Uses case-sensitive comparison." 
    /skip "Treat the series as records of fixed size" 
    size [integer!]
]

{{BookCat}}