Boolean: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (altrroracno)
(Spam)
Line 1: Line 1:
eltricpa
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 02:03, 27 January 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.