Quantcast
Channel: Answers for "what is a boolean"
Browsing latest articles
Browse All 5 View Live

Answer by slayer29179

Boolean is a variable which can go two ways on or off :) so you can use it for switches, to enable something or detect items such as if the player hits a location the variable switch is true and if its...

View Article



Answer by Drakestar

A boolean has 2 values: 0/1, or true/false. It's the simplest state that a computer can represent, and corresponds to "energy is flowing/is not flowing" (all computers are built around boolean logic)....

View Article

Answer by QuarterMillion

@Drakestar I feel like that is so backwards if something returns a value it should be true and its numerical representation should be 1. If something does not return a value it should be false and its...

View Article
Browsing latest articles
Browse All 5 View Live




Latest Images