Micro FocusĀ Visual COBOLĀ 2.3 for Visual Studio 2012
>
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