Added some verbs

This commit is contained in:
Lukasz Baldyga committed 2020-11-25 02:00:39 +00:00
1 parent f1bb73f1d6
commit 35bc68cfb6
4 files changed
+61 -4

No files matched your search

@@ -202,6 +202,11 @@ namespace Advanced_Software_Engineering {
);
} else throw new Exception(command + " has an incorrect number of parameters");
case "int":
if (parameterLength == 1) {
return new Verb
} else throw new Exception("ints need to be initialised");
default:
throw new Exception("Unknown command");
}