Something like var f: File fname = "some file name" lineCnt = 0 if open(f, fname): while f.readLine(line): # do something here with line inc lineCnt close(f)
- How to iterate through a file using readLine() def_pri_pub
- Re: How to iterate through a file using readLine() jlp765