LINES(testdata.txt)
determines if any lines remain in the data stream "testdata.txt"
Remaining = lines(testdata.txt)
assigns the boolean result to Remaining of the test to determine whether lines remain in "testdata.txt"
Next