Can you pretend to be a computer? Try interpreting the following trivial piece of nasal code "by hand". Then see if the nasal interpreter agrees with your interpretation.
node = props.globals.getNode("/foo/bar", 1); bar = getprop("/foo/bar"); if (bar == nil) { str = "bar: nil, "; } else { str = "bar: non_nil, "; } if (bar) { str ~= "pass, "; } else { str ~= "fail, "; } if (node.getBoolValue()) { str ~= "true, "; } else { str ~= "false, "; } print(str, node.getBoolValue(), ":", node.getValue()); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel