Boolean: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (fixed missing lb)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
'''Description:'''
'''Description:'''<br>
Boolean ([[true]] or [[false]]).
A [[Boolean]] can either be [[true]] or [[false]].
Note that Booleans are '''real''' types in the scripting language.


In config.cpp (addons), a boolean is simply a poetic licence, a convenience, for a zero/non zero integer.


[[Category: Types]]
[[Category: Data Types]]

Latest revision as of 18:02, 10 February 2021

Description:
A Boolean can either be true or false. Note that Booleans are real types in the scripting language.

In config.cpp (addons), a boolean is simply a poetic licence, a convenience, for a zero/non zero integer.