Jump to content

Rebol Programming/difference

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
DIFFERENCE set1 set2 /case /skip size 

DESCRIPTION:

[edit | edit source]

Return the difference of two data sets.

DIFFERENCE is a native value.

ARGUMENTS

[edit | edit source]
  • set1 -- First data set (Type: series bitset date)
  • set2 -- Second data set (Type: series bitset date)

REFINEMENTS

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

SOURCE CODE

[edit | edit source]
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!]
]