Stops a simulation. Use option of SAVE to save the results so far, NOSAVE to discard results and QUERY to ask the user. The options have no effect in gaming mode — the output is always saved. This command must appear first in the list of commands, and will be the only command executed during simulation. If this command is invoked and there is no simulation in progress, it has no effect, and the commands that follow it are executed.
The STOPSIM command is the only command that has any effect while a simulation is in progress.