Re: [AD] TRUE and FALSE

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


On Tuesday 22 April 2003 11:55 pm, Thomas Fjellstrom wrote:
> 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?

You can, except you'll prevent people from doing things like:

if (yay && yay->whee == 1)

where 'yay' might be a null pointer.

Ben




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