main.m280 chars12 lines
This code will open a file named input.txt
, read an infinite number of lines from it, and process each line inside the while
loop until there are no more lines left. You can replace the disp(line)
line with your own code to process the content of each line as needed.
gistlibby LogSnag