Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

The Boolean Logical Data Type

A logical variable can have only the value True or False. The keywords True and False are often implied thus the expressions [Pg.264]

You can use other data types as Boolean variables. When a variable is used in a logical expression, zero is converted to False while any non-zero value is converted to True. Thus the expression [Pg.264]

When Boolean variables are converted to other data types. False becomes zero but True is converted to -1. [Pg.264]

If j Then expression tests for a non-zero value of the variable j. [Pg.264]


See other pages where The Boolean Logical Data Type is mentioned: [Pg.264]    [Pg.264]   


SEARCH



Boolean

Data type

Logic Boolean

The Data

The type LOGICAL

© 2024 chempedia.info