* leee -- Thursday 26 April 2007:
> Another thing about that particular code snippet is that it is resilient 
> insofar as it ensures correct data values whereas the technique you suggest 
> relies upon a valid value in the node to work - if it gets corrupted the 
> function may not work or may be unpredictable.

Wrong. The negation operator turns nil and 0 into 1, and everything
else into 0. The check for nil is redundant noise.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to