411 REFERENCE · Wikibooks
Rebol Programming/intersect
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
INTERSECT ser1 ser2 /case /skip size
DESCRIPTION:
Create a new value that is the intersection of the two arguments.
INTERSECT is a native value.
ARGUMENTS:
ser1 -- first set (Type: series bitset)
ser2 -- second set (Type: series bitset)
REFINEMENTS:
/case -- Uses case-sensitive comparison.
/skip -- Treat the series as records of fixed size
size -- (Type: integer)
SOURCE CODE
intersect: native[
{Create a new value that is the intersection of the two arguments.}
ser1 [series! bitset!] "first set"
ser2 [series! bitset!] "second set"
/case "Uses case-sensitive comparison."
/skip "Treat the series as records of fixed size"
size [integer!]
]