Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Arithmetic expressions in nonarithmetic statements

Arithmetic expressions can appear in contexts other than arithmetic statements. For example, you can use an arithmetic expression with the IF or EVALUATE statement.

In such statements, the rules for intermediate results with fixed-point data and for intermediate results with floating-point data apply, with the following changes:

related concepts
Fixed-point contrasted with floating-point arithmetic

related references
Terminology used for intermediate results
Fixed-point data and intermediate results
Floating-point data and intermediate results
IF statement (COBOL for Windows Language Reference)
EVALUATE statement (COBOL for Windows Language Reference)
Conditional expressions (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)