Nasal library/io: Difference between revisions

Jump to navigation Jump to search
→‎Functions: Begin include() doc
(→‎Functions: Doc flush(), fix doc)
(→‎Functions: Begin include() doc)
Line 68: Line 68:


=== include() ===
=== include() ===
{{Nasal doc
|syntax = io.include(file);
|text = Loads a given Nasal file into where the function is called from.
|param1 = file
|param1text = Path to file as a string. If it is just a filename, it will be assumed that the file is in the same folder as calling script. Otherwise, it will be searched for in the standard FlightGear directories (see [[Resolving Paths]]).
|example1 =
}}
=== load_nasal() ===
=== load_nasal() ===


Navigation menu