04-01-2021, 10:57 AM
Would it be possible to let us do arithmetic on booleans? It would be very useful to be able to treat the boolean True as the integer 1 and the boolean False as the integer 0.
|
Messages In This Thread |
Treating True and False as 1 and 0 - by Michael - 04-01-2021, 10:57 AM
RE: Treating True and False as 1 and 0 - by cambolbro - 04-01-2021, 11:19 AM
RE: Treating True and False as 1 and 0 - by Michael - 04-01-2021, 11:22 AM
RE: Treating True and False as 1 and 0 - by Michael - 04-01-2021, 07:06 PM
RE: Treating True and False as 1 and 0 - by Eric Piette - 04-06-2021, 01:42 PM
|