Nasal library/io: Difference between revisions

Add variables, start to doc close()
(Add variables, start to doc close())
Line 18: Line 18:
}}
}}


=== close(filehandle) ===
=== close() ===
Closes the specified file as per ANSI fclose().  
{{Nasal doc
|syntax = io.close(file);
|text = Closes the specified file. Returns <code>'''nil'''</code>.
|param1 = path
|param1text = Path as a string.
|example1 =
}}


=== dirname() ===
=== dirname() ===
Line 133: Line 139:
io.writexml(path, node, indent,prefix);
io.writexml(path, node, indent,prefix);
</syntaxhighlight>
</syntaxhighlight>
== Variables ==
=== SEEK_SET ===
=== SEEK_CUR ===
=== SEEK_END ===


[[Category:Nasal]]
[[Category:Nasal]]