"da Silva, Joe" wrote:
Agreed. This is not a bug.
This reminds me of the "case" statement in Pascal 6000 (CDC). If you wanted to prevent a crash of your program, when an expression (variant-selector) was not matched by any case-constant-list, you HAD TO include an empty "otherwise" clause. BTW, when I reported this behaviour (ie. crash) as a bug, I was told that since a non-match was undefined, it was acceptable for the program to terminate with a run-time error (which is what it normally did).
Once again, this is not a bug. I believe there is still no otherwise clause specified for ISO 7185 (it certainly wasn't for the original standard, which lead to heated debate). If you didn't specify each possible case you had made a programming error.