Loading...
Select Version
&pagelevel(3)&pagelevel
Domain: Conversion functions
The BOOLEAN( ) function converts the expression specified in the function call to a BOOLEAN value.
Format
BOOLEAN( ) BOOLE( ) |
EXPRESSION = expression |
Result type
BOOLEAN
Input parameters
EXPRESSION = expression
Determines the expression to be converted. If it was not possible to convert “expression”, an error message is displayed.
Result
Data type | Result |
expression = ' TRUE' or ’true’ | TRUE |
expression = 0 | FALSE |
Error message
SDP0429 CONVERSION NOT POSSIBLE
Example
/A = 0 /B = BOOLEAN(EXPRESSION = A) /SHOW-VARIABLE B B = FALSE