Nasal Hello World: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (add a GUI example for fg versions that no longer show a console)
mNo edit summary
Line 8: Line 8:
This will print the string <code>Hello, World!</code> into the console.
This will print the string <code>Hello, World!</code> into the console.


To show a message inside the FlightGear window using a tooltip instead, use the following snippet:
To show a message inside the FlightGear window using a [[Tooltips|GUI tooltip]] instead, use the following snippet:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu