0 Edward850 Posted October 28, 2023 (edited) Based on the context of your previous threads, you are talking about ACS. The answer for ACS is nothing, as it only has integer types, so boolean is just an alias of the same thing. You question has different answers in different contexts. Ask a more specific question if you need a different answer. Edited October 28, 2023 by Edward850 2 Share this post Link to post
0 Skemech Posted October 28, 2023 Ok thank you, I was watching Chubzdoomer, and I was like "Bro what's the difference, the way he described it, it sounds the same" 0 Share this post Link to post
0 smeghammer Posted October 28, 2023 In more general terms, a bool (or Boolean) is a value that is binary (true/false, 1/0 etc), whereas an integer is a whole number (1, 42, -77 etc.) 0 Share this post Link to post
0 zokum Posted November 3, 2023 A boolean can only ever have the value true or false, often represented as 0 or 1. An integer can by any whole number, including 0 and negative numbers, but no fractions, imaginary numbers, irrational numbers etc. Various programming languages allow you to mix and match these different types, while others are quite strict about the type of value in use. Some places have a special 'null' value to indicate no value set, which is different from 0. Think of it as the difference between never having done something or done something an unknown amount of times. Never ever assume one programming language / field of use handles numbers and data types in the same way as another unless you explicitly know this is true. Number handling can also change from version to version of a language or depending on which vendor who made the tools you use. Computers do as they're told, but not what you want or need them to do. Programming is the art of giving the computer the correct instructions. The wrong instructions can give you wrong results, but you might be lucky and it works for your particular case, but not for others. 0 Share this post Link to post
Question
Skemech
whats the difference between them?
Share this post
Link to post
4 answers to this question
Recommended Posts