On Thu, Apr 19, 2012 at 3:51 PM, Black, Michael (IS) <[email protected]> wrote: > You are correct that non-zero will be treated as true. > > That's more an accident then anything else as everybody is checking "!= 0" > for true.
No, C treats any non-zero value as true, as in "if (condition) ..." -- that condition will considered true if it's non-zero. If you ever see "!!condition", that's just to normalize true values. Nico -- _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

