Re: [AD] TRUE and FALSE

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On April 22, 2003 07:16 am, Ben Davis wrote:
> Hi,
>
> This has bugged me for ages. Why is TRUE defined as -1? The canonical truth
> value in C is 1. Would it break too many programs to change it? Or could it
> be deprecated in favour of AL_TRUE (and AL_FALSE) perhaps?
>
> If someone makes this blunder in Allegro 5, I shall personally kill that
> person. >:E~~~
>
> :)
>

Well, for my VM, TRUE will be -1 to help with some of the operators... As IIRC 
I can turn && into an & can I not?

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/