Template:IO Restrictions: Difference between revisions
Jump to navigation
Jump to search
(http://forum.flightgear.org/viewtopic.php?f=30&t=21615) |
m (http://forum.flightgear.org/viewtopic.php?f=30&t=21615#p196502) |
||
Line 1: | Line 1: | ||
<font color="red"><b>Note:</b> All FlightGear I/O handled via [[Nasal]] and/or fgcommands, is subject to validation via [[IORules]].</font> | <font color="red"><b>Note:</b> All FlightGear I/O handled via [[Nasal]] and/or fgcommands, is subject to validation via [[IORules]].</font> | ||
[[$FG HOME]] is generally accessible for writing: | |||
<syntaxhighlight lang="nasal"> | |||
var path = getprop("/sim/fg-home") ~ "/Export/test.xml"; | |||
io.write_properties(path, "/sim"); | |||
</syntaxhighlight> |