Boolean: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(monmon)
m (Reverted edit of VitrcRicda, changed back to last version by Etset)
Line 1: Line 1:
darrolaclibo
A '''boolean''' is a data type that is either enabled or disabled. In code, it can be denoted by the keywords <tt>true</tt> and <tt>false</tt>. Otherwise, it is denoted as <tt>1</tt> for enabled and <tt>0</tt> for disabled.
A '''boolean''' is a data type that is either enabled or disabled. In code, it can be denoted by the keywords <tt>true</tt> and <tt>false</tt>. Otherwise, it is denoted as <tt>1</tt> for enabled and <tt>0</tt> for disabled.


[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 13:43, 12 February 2008

A boolean is a data type that is either enabled or disabled. In code, it can be denoted by the keywords true and false. Otherwise, it is denoted as 1 for enabled and 0 for disabled.