Difference between revisions of "(File):lines"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Iterate over all the lines in a file
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::File]]
 
* [[parent::File]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Iterate over all the lines in a file}}

Revision as of 16:17, 14 February 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