2,732
edits
Red Leader (talk | contribs) (→include(): Add example) |
Red Leader (talk | contribs) (→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") === |