bool and int

rbowman bowman at montana.com
Thu Jan 26 00:13:07 EST 2023


On Thu, 26 Jan 2023 04:10:30 +1100, Chris Angelico wrote:


> BASIC was like that too, although it (at least, the versions I used in
> my childhood) didn't have "True" and "False", you just got the actual
> values -1 and 0. They were the other way around compared to what you're
> saying here though.

I've see header files from people with boolean envy that are something 
like

#define FALSE  0
#define TRUE ~FALSE



More information about the Python-list mailing list