Previous Topic Next topic Print topic


REMAINDER

Enables you to select how the remainder is calculated in a DIVIDE statement.

Syntax:

 >>------REMAINDER---"integer"-----------><  
    

Parameters:

integer
Must be one of:
1
The Compiler uses the ANSI 85 algorithm.
2
The Compiler uses an algorithm employing a subsidiary quotient. This subsidiary quotient is signed and is of sufficient size to hold any valid value. All current IBM mainframe compilers use this non-standard algorithm.

Properties:

Default: REMAINDER"1" (Dialect)
Phase: Syntax check
$SET: Any
Previous Topic Next topic Print topic