forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Union
angerangel edited this page Mar 20, 2013
·
1 revision
UNION set1 set2 /case /skip size
Returns the union of two data sets.
UNION is a native value.
- set1 -- first set (block! string! binary! bitset! typeset!)
- set2 -- second set (block! string! binary! bitset! typeset!)
- /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!]
] ]