The information in this article applies to:
SUMMARYThe 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:
MORE INFORMATION
To generate the debug message, compile and run the sample code below. Type
anything other than 0 or 1 at the prompt. The program runs without error if
the CASE DEFAULT lines are uncommented.
Sample Code
Additional query words: 1.00 1.00a
Keywords : kberrmsg kbFortranPS kbLangFortran |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |