Howto talk:Processing legacy PUI dialogs using Canvas: Difference between revisions

Jump to navigation Jump to search
→‎Table parser: new section
(→‎pastebin ...: new section)
(→‎Table parser: new section)
Line 531: Line 531:


</pre>
</pre>
== Table parser ==
<syntaxhighlight lang="nasal">
var filename = "/timeofday.xml";
var path = getprop('/sim/fg-root') ~ filename;
var parseTable = func(path) {
var dialog = io.read_properties(path);
}
var createTable = func() {
}
parseTable(path: path);
</syntaxhighlight>

Navigation menu