Iterate over all the lines in a [[File|file]].
== Function ==
=== Synopsis ===
<source lang="lua">
iterator = File:lines( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|function|iterator|The iterator (can be used in for loops).}}
== See Also ==
* [[parent::File]]
[[Category:Functions]]
{{#set:Description=Iterate over all the lines in a file.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|(File):lines}}