Boolean

From Mario Fan Games Galaxy Wiki
Revision as of 23:08, 14 November 2009 by Xgoff (talk | contribs) (Created page with ''''Boolean''' values are those that may hold one of two truth values: 'true' or 'false'. However, in some languages this may be represented in some other way, such as '1' or '0'.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Boolean values are those that may hold one of two truth values: 'true' or 'false'. However, in some languages this may be represented in some other way, such as '1' or '0'. Although a boolean value only requires one bit of storage, it is more often implemented as some other datatype; despite this, some languages support bit fields, which store as many booleans as possible in a single larger datatype, usually in such a way as to be transparent to the programmer.