Details
Description
The code below only read the first line of a file
fr = new FileReader('test2E2R.pr03') String line1 = "" while (line1 != null) { line1 = fr.readLine() println line1 } fr.close()
The code below only read the first line of a file
fr = new FileReader('test2E2R.pr03') String line1 = "" while (line1 != null) { line1 = fr.readLine() println line1 } fr.close()