Maptitude GISDK Help

SetXOR()

Summary

Selects features that are in only one of several selection sets.

 

Syntax

n = SetXOR(string set_name, array input_sets)

 

Argument Contents
set_name The name of the set to be created
input_sets The list of sets to search

 

Returns

The number of elements in the set.

 

Notes

Examples

n = SetXOR("Rich or Male-not Both", {"Rich Persons", "Males"})

 

nrecs = SetXOR("X", {"X", "Y", "Z"}) // X = in one of X or Y or Z

 

Error Codes

Error Type Meaning
Error The set name is invalid or one of the input sets is invalid
NotFound One of the input sets does not exist

 

See Also

Function Summary
IsMember() Tests whether a record is a member of a selection set
SetAND() Selects features that are in all of several input selection sets
SetInvert() Selects all features that are not part of another selection set
SetOR() Selects features in any of several input sets

 

 

©2025 Caliper Corporation www.caliper.com