Nasal scripting language: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Link to special directory articles)
No edit summary
Line 4: Line 4:


<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
# to be saved in [[$FG_ROOT]]/Nasal/hello.nas
# to be saved in $FG_ROOT/Nasal/hello.nas
   print( "Hello World!" );
   print( "Hello World!" );
</syntaxhighlight>
</syntaxhighlight>

Revision as of 07:54, 10 October 2013


FlightGear offers a very powerful functional scripting language called Nasal, which supports reading and writing of internal FlightGear properties, accessing internal data via extension functions, creating GUI dialogs and much more. Please see the right navigation bar to get additional information.

# to be saved in $FG_ROOT/Nasal/hello.nas
  print( "Hello World!" );

Vim-nasal-syntax-highlighting.png

References