Curt wrote:
> FWIW, testing against "" instead of 0 works with the latest nasal
> changes.

Indeed.  Actually, with the fix as of a few minutes ago you should be
able to do just:

if ( !auto.getValue() ) { ... }

The empty string and zero numeric values are both false, as is the nil
reference.

Andy

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to