20,741
edits
Line 51: | Line 51: | ||
]]></load></nasal> | ]]></load></nasal> | ||
</PropertyList> | </PropertyList> | ||
</syntaxhighlight> | |||
Instead of embedding all code inline, you can also include an external Nasal by using: | |||
<syntaxhighlight lang="php"> | |||
io.load_nasal( getprop("/sim/fg-root") ~ "/Nasal/canvas/widgets/loglist.nas" ); | |||
</syntaxhighlight> | </syntaxhighlight> | ||