Does anyone know a way to swap two values using a dictionary? For instance, our data file might have values of TRUE when we need FALSE, and vice versa.
When I've tried the most obvious approach (matching True, replacing False; matching False, replacing True) IOM complains that "Entry exists already as a replacement value or value to match on."
Doing it with the API is relatively straightforward, but dictionaries are easier to use and maintain. Besides, this feels like the sort of thing that ought to be well suited to a dictionary.
Very interested to hear your ideas.