Private
Public Access
Added some verbs
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user