20,741
edits
m (→Hello World) |
m (→Hello World) |
||
Line 193: | Line 193: | ||
After rebuilding FlightGear, you can easily invoke the new "hello_world" fgcommand like this: | After adding the new callback to the callback list and rebuilding FlightGear, you can easily invoke the new "hello_world" fgcommand using the Nasal console like this: | ||
<syntaxhighlight lang="php"> | |||
fgcommand("hello_world", props.Node.new( {"name": "Howard Hughes"} )); | |||
</syntaxhighlight> | |||
== Reaching out to subsystems == | == Reaching out to subsystems == |