I have to admit I've only flown in simulators but everyone of them implements the "CLR" button of the transponder in an A320 (maybe also others) the following way:
- It removes the fourth digit only if present
- Otherwise (meaning at most three digits defined) it clears the complete code
Why is it that way and why doesn't it either clear each digit individually, or all digits every time?