$DEBUG Modifies Behavior of SELECT CASE in PowerStation 1.0 (118394)
The information in this article applies to:
- Microsoft FORTRAN PowerStation for MS-DOS 1.0
- Microsoft FORTRAN PowerStation for MS-DOS 1.0a
- Microsoft Fortran Powerstation 32 for Windows NT 1.0
This article was previously published under Q118394 SUMMARY
The description of the SELECT CASE construct in the "Language Guide" states
that if the test expression does not match any of the cases and there is no
default case, execution proceeds after the END SELECT. However, the
documents fail to mention that $DEBUG modifies this behavior. The
description for $DEBUG states that an error message is generated for test
expressions that do not match any of the CASEs; this error message reads as
follows:
run-time error F6105 $DEBUG
- no matching CASE found for SELECT CASE
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kberrmsg kbLangFortran KB118394 |
---|
|