Boolean: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Directed the redirect.)
No edit summary
Line 1: Line 1:
#REDIRECT [[Wikipedia:Boolean_datatype]]
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]]

Revision as of 12:45, 14 October 2007

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.