LOTUSSCRIPT LANGUAGE


CBool function
Ejemplo

Returns an expression converted to the Boolean data type.

Nota This function is new with Domino Release 6.

Syntax

CBool ( expr )

Elements

expr


Return value

CBool returns an expression that has been converted to Boolean.

CBool(EMPTY) returns False.

If expr is a numeric expression, CBool returns True or False, depending on the value of the numeric expression: 0 becomes False, and any other value becomes True.

If expr lies outside the acceptable range for the Boolean data type, the function raises an error.

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?