Micro Focus Visual COBOL 3.0 for Eclipse (Windows)
>
General Reference
>
COBOL Language Reference
>
Part 2. Program Definition
>
Procedure Division
>
Intrinsic Functions
>
Definitions of Functions
>
The INTEGER-OF-BOOLEAN Statement
The INTEGER-OF-BOOLEAN Statement
The INTEGER-OF-BOOLEAN function returns the numeric value of the boolean string in argument-1.
The function type is integer.
General Format
FUNCTION INTEGER-OF-BOOLEAN (argument-1)
Syntax Rules
Argument-1 must be a boolean data item.
Parent topic:
Definitions of Functions