Skip to content
angerangel edited this page Mar 20, 2013 · 1 revision

USAGE

   UNION set1 set2 /case /skip size

DESCRIPTION

Returns the union of two data sets.

UNION is a native value.

ARGUMENTS

  • set1 -- first set (block! string! binary! bitset! typeset!)
  • set2 -- second set (block! string! binary! bitset! typeset!)

REFINEMENTS

  • /case -- Use case-sensitive comparison
  • /skip -- Treat the series as records of fixed size
    • size (integer!)

#SOURCE

union: make native! [  [
    "Returns the union of two data sets."
    set1 [block! string! binary! bitset! typeset!] "first set"
    set2 [block! string! binary! bitset! typeset!] "second set"
    /case "Use case-sensitive comparison"
    /skip "Treat the series as records of fixed size"
    size [integer!]
] ]

Clone this wiki locally