|
|
(3 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| A bool (or boolean) is a [[Value Type | value]] type that can be either '''true''' (on) or '''false''' (off) | | A '''bool''' (or boolean) is a [[value type]] that can be either <code>True</code> (on) or <code>false</code> (off) |
|
| |
|
| == Usage == | | == Usage == |
| | |
| Use this type whenever you need to store a value that can only be in one of two states. | | 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 [[Type:Byte | byte]]
| | {{BoolTypes}} |
| == Related Types ==
| |
| * [[Type:Bool2 | bool2]]
| |
| * [[Type:Bool3 | bool3]]
| |
| * [[Type:Bool4 | bool4]]
| |
| * [[Type:bobool3ol|bobool3ol]]
| |
| | |
| [[Category:Types]]
| |
| [[Category:Types:Value]]
| |
A bool (or boolean) is a value type 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.
Related types