hi, i am quite puzzled, the following trivial code prints 0 to file. any suggestions!
try {
BufferedWriter out = new BufferedWriter(new FileWriter(outputfile));
out.write("ITRS SYSTEM");
out.newLine();
out.write(" (ITRS) ");
out.newLine();
out.write(" TEST SUBSYSTEM ");
out.newLine();
out.flush();
out.close();
} catch (IOException e) {
System.out.println("excpetion caught" + e);
System.exit(1);
}
try {
BufferedWriter out = new BufferedWriter(new FileWriter(outputfile));
out.write("ITRS SYSTEM");
out.newLine();
out.write(" (ITRS) ");
out.newLine();
out.write(" TEST SUBSYSTEM ");
out.newLine();
out.flush();
out.close();
} catch (IOException e) {
System.out.println("excpetion caught" + e);
System.exit(1);
}