Skip to content

Commit 3bf2e84

Browse files
Merge branch 'master' into issue-124-125-minor-edits
2 parents f26448f + 1182c1f commit 3bf2e84

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

COBOL Programming Course #1 - Getting Started/COBOL Programming Course #1 - Getting Started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3353,19 +3353,19 @@ This chapter aims to introduce the concept of implementing arithmetic expression
33533353

33543354
Arithmetic expressions are used as operands of certain conditional and arithmetic statements. An arithmetic expression can consist of any of the following items:
33553355

3356-
- An identifier described as a numeric elementary item (including numeric functions).
3356+
1. An identifier described as a numeric elementary item (including numeric functions).
33573357

3358-
- A numeric literal.
3358+
2. A numeric literal.
33593359

3360-
- The figurative constant ZERO.
3360+
3. The figurative constant ZERO.
33613361

3362-
- Identifiers and literals, as defined in items 1, 2, and 3, separated by arithmetic operators.
3362+
4. Identifiers and literals, as defined in items 1, 2, and 3, separated by arithmetic operators.
33633363

3364-
- Two arithmetic expressions, as defined in items 1, 2, 3, or 4, separated by an arithmetic operator.
3364+
5. Two arithmetic expressions, as defined in items 1, 2, 3, or 4, separated by an arithmetic operator.
33653365

3366-
- An arithmetic expression, as defined in items 1, 2, 3, 4, or 5, enclosed in parentheses.
3366+
6. An arithmetic expression, as defined in items 1, 2, 3, 4, or 5, enclosed in parentheses.
33673367

3368-
- Any arithmetic expression can be preceded by a unary operator.
3368+
7. Any arithmetic expression can be preceded by a unary operator.
33693369

33703370
Identifiers and literals that appear in arithmetic expressions must represent either numeric elementary items or numeric literals on which arithmetic can be performed. If the value of an expression to be raised to a power is zero, the exponent must have a value greater than zero. Otherwise, the size error condition exists. In any case where no real number exists as the result of an evaluation, the size error condition exists.
33713371

0 commit comments

Comments
 (0)