Difference between revisions of "(File):lines"

Line 1: Line 1:
 
 
Iterate over all the lines in a file
 
Iterate over all the lines in a file
 
== Function ==
 
== Function ==
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Iterate over all the lines in a file}}
 
{{#set:Description=Iterate over all the lines in a file}}
 +
== Other Languages ==
 +
{{i18n|(File):lines}}

Revision as of 08:18, 26 October 2010

Iterate over all the lines in a file

Function

Synopsis

iterator = File:lines( )

Arguments

None.

Returns

function iterator
The iterator (can be used in for loops)

See Also

Other Languages