Howto:Add new fgcommands to FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 134: Line 134:
   }
   }
</syntaxhighlight>
</syntaxhighlight>
== Exception handling ==
To be on the safe side, complex fgcommands should make use of exception handling to catch exceptions and deal with them gracefully, so that they cannot affect the simulator critically.


= Adding new commands =
= Adding new commands =

Navigation menu