PDA

View Full Version : Boolean constants



Saffith
02-21-2007, 12:12 PM
Obviously, it's possible to fake them with numbers, but there's no particular reason that should be necessary.

DarkDragon
02-21-2007, 02:37 PM
I'll have to check how I implemented integer constants, but this shouldn't be too difficult to add.
If you want, feel free to put them in yourself ;)

C-Dawg
02-21-2007, 03:48 PM
Maybe I'm missing something, but don't we already have boolean constants

i.e. "True" and "False?"

DarkDragon
02-21-2007, 06:51 PM
No, he's talking about constant variables which are boolean valued, ie,


const bool macs_suck=true;