UNION
Given two sets A and B, the UNION
function returns a new set "A-plus-B", that is all the domains that are only in A plus all the domains that are only in B plus the domains that A and B have in common.
For example, given these two sets:
setOne:
1
1.01
1.15
1.17
setTwo:
1.01
1.15
1.18
the statement:
var union = UNION(setOne, setTwo);
defines and populates the union
set this way:
1
1.01
1.15
1.17
1.18
The syntax is:
UNION(set1, set2)
where set1
and set2
are set variables.