Microsoft KB Archive/31209

Evaluation of Compound Statements

PSS ID Number: Q31209 Article last modified on 04-21-1993

2.20 | 2.20 MS-DOS | XENIX

Summary: Version 2.2 may evaluate compound IF statements differently, depending on the existence (or lack) of parentheses in an equation. Evaluation is often in direct contradiction to the information provided on Pages 232-235 of the “Microsoft COBOL Compiler Reference” manual. As a workaround, use parentheses in compound IF statements. This problem has not been duplicated under version 3.0.

Additional reference words: 2.20 Copyright Microsoft Corporation 1993.