angepasster readCsv() Aufruf
parent
4cb618729a
commit
ff7f73a413
|
@ -11,15 +11,17 @@ import java.util.Scanner;
|
|||
public class Axel {
|
||||
|
||||
public static void main(String[] args) throws FileNotFoundException {
|
||||
Spreadsheet spr = new Spreadsheet(99,26);
|
||||
Spreadsheet spr = new Spreadsheet(10,10);
|
||||
spr.readCsv("C:/Users/kisne/IdeaProjects/PR1-Spreadsheet/tmp/test.csv", ",");
|
||||
Scanner keyboard = new Scanner(System.in);
|
||||
|
||||
spr.put("A3", "123");
|
||||
spr.put("A2", "1");
|
||||
spr.put("A2", "3");
|
||||
spr.put("A5", "5");
|
||||
spr.put("B8", "6");
|
||||
|
||||
spr.put("A99", "=Summe(20:20)");
|
||||
spr.put("B99", "=SUMME(A2:A3)");
|
||||
spr.put("J6", "=36/2");
|
||||
|
||||
spr.put("A8", "=Summe(A5:D8)");
|
||||
spr.put("J7", "=a2+2");
|
||||
spr.put("J8", "=a2+J7*4");
|
||||
|
||||
|
@ -47,7 +49,6 @@ public class Axel {
|
|||
|
||||
spr.saveCsv("C:/Users/kisne/IdeaProjects/PR1-Spreadsheet/tmp/test.csv");
|
||||
|
||||
// TODO: You might want to put "UI loop" for entering value and formulas here resp. in some UI methods.
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue