* Melchior FRANZ -- Sunday 19 February 2006 00:04: > Better make that an int: > > int m = props.getIntValue("dump", -1); > if (m >= 0) > model->print(stderr, "", m);
And better make it go from 0 (off) to 5 (max detail): int m = props.getIntValue("dump", 0); if (m > 0) model->print(stderr, "", m - 1); m. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel