Boolean: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by Mikero (talk) to last revision by T DBot)
m (some formatting and removed link to integer page)
Line 1: Line 1:
=Boolean Type=
'''Description:'''
Boolean ([[true]] or [[false]]).
A [[Boolean]] can either be [[true]] or [[false]].
 
Note that Booleans are '''real''' types in the scripting language.
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]].
In config.cpp (addons), a boolean is simply a poetic licence, a convenience, for a zero/non zero integer.


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

Revision as of 17: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.