Nasal library/io: Difference between revisions

Jump to navigation Jump to search
→‎Functions: Start load_nasal() doc
(→‎include(): Add example)
(→‎Functions: Start load_nasal() doc)
Line 80: Line 80:


=== load_nasal() ===
=== load_nasal() ===
{{Nasal doc
|syntax = io.load_nasal(file[, module]);
|text = Loads and executes a given Nasal script into a namespace.
|param1 = file
|param1text = Full path to the Nasal file as a string.
|param2 = module
|param2text = Optional name of module to load the script into as a string. If not given, the namespace will be the name of the file.
|example1 =
}}


=== open(filename, mode="r") ===
=== open(filename, mode="r") ===

Navigation menu