How to create a function to read line by line from text file?

0

How to create a function to open a text file, read a line and out of function created, handle that line? So following the treatment, re-run the function created to read the next line in the text file and so on?

    
asked by anonymous 21.06.2017 / 02:34

0 answers