* Melchior FRANZ -- Friday 12 January 2007: > There's currently no way to create dirs from Nasal. So we > would currently have to dump all the files into ~/.fgfs/.
Now there is, and this should work: savexml = func(name, node) { fgcommand("savexml", props.Node.new({"filename": name, "sourcenode": node})); } savexml(getprop("/sim/fg-home") ~ "/aircraft/" ~ getprop("/sim/aircraft"), props.globals.getNode("/sim/whatever", 1)); Not sure what happens on MS Windows with the slashes in "/aircraft/", though. m. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel