forked from hummel/PR1-Spreadsheet
Dateien nach "Axel/src/de/hs_mannheim/informatik/spreadsheet" hochladen
parent
f09c112e2c
commit
3d6e5482ec
|
@ -91,7 +91,12 @@ public class Axel {
|
|||
form+=command.charAt(i);
|
||||
}
|
||||
}
|
||||
spr.put(cell, form);
|
||||
if((spr.getRow(cell)+1)<=spr.cells.length&&(spr.getCol(cell)+1)<=spr.cells[0].length) {
|
||||
spr.put(cell, form);
|
||||
}
|
||||
else {
|
||||
System.err.println("Zelle '"+ cell+ "' existiert nicht!");
|
||||
}
|
||||
}else if(command.matches("stop")){
|
||||
break;
|
||||
}else if(command.startsWith("save")){
|
||||
|
|
Loading…
Reference in New Issue