Type:Bool: Difference between revisions

From Resonite Wiki
m Epsilion moved page Types:Bool to Type:Bool: Making type category singular
mNo edit summary
Line 1: Line 1:
{| class="wikitable"
A bool (or boolean) is a [[Value Variable | value variable]] that can be either '''true''' (on) or '''false''' (off)
|-
 
| Color
== Usage ==
| Type
Use this type whenever you need to store a value that can only be in one of two states.
|-
 
| style="background-color:{{Boolean-color}}" |
In the underlying runtime (.net), this takes the same amount of memory as a [[Type:Byte | byte]]
| Boolean
== Related Types ==
|}
* [[Type:Bool2 | bool2]]
A boolean\bool Is a true or false value.
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]
* [[Type:bobool3ol|bobool3ol]]
 
[[Category:Types]]
[[Category:Types]]
[[Category:Types:Value]]

Revision as of 17:41, 14 January 2024

A bool (or boolean) is a value variable that can be either true (on) or false (off)

Usage

Use this type whenever you need to store a value that can only be in one of two states.

In the underlying runtime (.net), this takes the same amount of memory as a byte

Related Types