Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

GIVING phrase

Syntax rules

  1. The identifier following the word GIVING may be a numeric-edited item since it is not itself involved in the calculation.

  2. When the GIVING phrase is supplied, the result of the arithmetic operation is assigned to the specified identifier.

  3. The result stored in the identifier replaces its previous contents. Therefore, it is not necessary to reset the identifier to zero.

Example 8-17

ADD A B GIVING C.

The value C is set to the sum of A + B, and A and B are not changed.