Howto:Writing backward compatible code in Nasal

From FlightGear wiki
Revision as of 13:17, 20 May 2012 by Gijs (talk | contribs) (Category nasal howto)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

Objective: Write backward compatible Nasal code by determining dynamically what features are available, i.e. to see if new Nasal extension functions or new fgcommands are supported by a FlightGear binary or not. This is important when developing Nasal code that needs to run with old versions of FlightGear, while still supporting the latest features available in FlightGear Git/HEAD.


Approaches

Property checking

fgcommands

Nasal extension functions

Related content