Howto:Coding a simple Nasal Framework: Difference between revisions

Jump to navigation Jump to search
m
→‎Variables: http://forum.flightgear.org/viewtopic.php?f=71&t=23047#p209281
m (→‎Variables: http://forum.flightgear.org/viewtopic.php?f=71&t=23047#p209281)
Line 12: Line 12:


== Variables ==
== Variables ==
 
Also see: http://forum.flightgear.org/viewtopic.php?f=71&t=23047#p209281
In order to support independent instances of each instrument, you need to use separate variables, so rather than having something like this at global scope:
In order to support independent instances of each instrument, you need to use separate variables, so rather than having something like this at global scope:
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu