Jim Wilson wrote:
> The "nasal" script doesn't work on the keyboard binding for the "c"
> key (99).  I can't see any problem, and there apparently are not any
> useful debugging methods for nasal scripts

Have you tried print?  It goes out via the standard SG_LOG channel as
an alert.  It's true that there isn't a symbolic debugger for Nasal
yet. :)

> if (property) {
> }
>
> Does not work if the "property" type is undefined.

I'm a little confused.  Is "property" completely unset (which should
cause a symbol lookup failure), or does if have a value of nil (which
should have a boolean value of false)?

One thing I noticed just recently is that the top-level C++ code for
timers (as opposed to input bindings) did not properly print the stack
trace on error.  I have this fixed in my tree; I suppose I need to get
it checked in before Curt forks 0.9.4. :)

Andy


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to