UKHeliBob:
Is the use of the ! operator limited to booleans ? Answer, no.
Never said that. The "exclusive or" operator (XOR / ^) is the best and fastest sollution, so that will remain as my recommendation.
UKHeliBob:
Is the use of the ! operator limited to booleans ? Answer, no.
Never said that. The "exclusive or" operator (XOR / ^) is the best and fastest sollution, so that will remain as my recommendation.