20,741
edits
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 = |