Boolean: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Boolean/en to Boolean without leaving a redirect: Move en subpage to basepage)
(forgot VCD files smh)
Line 11: Line 11:
* [[VMF|.VMF]] files use <code>1 / 0</code>
* [[VMF|.VMF]] files use <code>1 / 0</code>
* [[DMX|.DMX]] files {{todo|Verify how, and which form}}
* [[DMX|.DMX]] files {{todo|Verify how, and which form}}
* [[VCD|.VCD]] files use <code>1 / 0</code>


Certain file types used in Source also do not ''typically'' use booleans:
Certain file types used in Source also do not ''typically'' use booleans:

Revision as of 16:40, 12 May 2025

English (en)Deutsch (de)Español (es)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)


A boolean value is a toggle used in programming that is inherently exclusively either "on" or "off". When enabled it is denoted with true or 1, and with false or 0 when disabled, depending on the syntax of the language being used.

Its use varies in different areas of the engine:

Certain file types used in Source also do not typically use booleans: