Nasal library/io: Difference between revisions

→‎Variables: Doc vars
(→‎seek(): Add example)
(→‎Variables: Doc vars)
Line 334: Line 334:
== Variables ==
== Variables ==
=== SEEK_CUR ===
=== SEEK_CUR ===
{{Nasal doc
|syntax = io.SEEK_CUR;
|text = Used with {{func link|seek}}. Means the offset will be counted from the current pointer postion.
}}
=== SEEK_END ===
=== SEEK_END ===
{{Nasal doc
|syntax = io.SEEK_END;
|text = Used with {{func link|seek}}. Means the offset will be counted from the end of the file.
}}
=== SEEK_SET ===
=== SEEK_SET ===
{{Nasal doc
|syntax = io.SEEK_SET;
|text = Used with {{func link|seek}}. Means the offset will be counted from the beginning of the file.
}}


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