On 8/17/06, Capit Nicolas <capitn_AT_free.fr> wrote:
> effectively I tried 0 and False and it worked in the same manner. Ok so I will
> use 0 :-)
Yes, because False gets converted to 0 if you stuff it in an unsigned
long (which is what the modifier mask is). Same goes for NULL (except
you get a warning there). NULL and False will both work, there just
conceptually wrong. The modifier mask is an unsigned long, and
therefore you should put a valid unsigned long value in it, not a
pointer or a Bool. Just because something works does not mean it's
right :-)
Greetings, Sander.
Received on Thu Aug 17 2006 - 12:28:11 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:12 UTC