This central class is used whenever there is communication between classes in different packages, to have a unified interface. Furthermore, it provides methods for resetting the virtual machine (initialClear()), and printing in the central GUI text area (print(), println()).
An instance of this exception is thrown if there is more than one CPP reception on a program input port at a time. This means that there is an error in the connections. eniac.control.CPPException is the only custom exception defined so far, but pre-defined exceptions, such as java.lang.ParseException, and java.io.IOException, are for example used in eniac.control.Loader to signal problems.
Here we find the method show(), which forms a long String, which contains the complete description of the current virtual machine state. This value is used in eniac.view.EditWindow (eniac.control.Controller.show() calls eniac.control.Display.show()).
This class contains two similar parts, one for reading virtual machine code from a file, the other for reading an argument string. Parsing is done by the methods load(), or input(), which in turn call methods parseContent(), parseConnect(), and parseAction(), to process the three blocks of the machine code source files.