Rebol Programming/union

USAGE:

edit
UNION set1 set2 /case /skip size 

DESCRIPTION:

edit

Creates a new set that is the union of the two arguments.

UNION is a native value.

ARGUMENTS

edit
  • set1 -- first set (Type: series bitset)
  • set2 -- second set (Type: series bitset)

REFINEMENTS

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

SOURCE CODE

edit
union: native[
    {Creates a new set that is the union of the two arguments.} 
    set1 [series! bitset!] "first set" 
    set2 [series! bitset!] "second set" 
    /case "Use case-sensitive comparison" 
    /skip "Treat the series as records of fixed size" 
    size [integer!]
]