Direct commands
Program lines can be typed in (prefixed by a line number) and will be accepted and stored for later running. However, if you type a line with no line number, it will be executed immediately, as on the original Spectrum. This is a "Direct Command". You can also use the editor as a simple calculator - type in an expression, such as 2+3/(4-2) and press Return. The result will be displayed in the display window.
All direct commands are "logged" in the Command History Window where they can be re-called for repeated use.
Whenever a direct command is executed or an expression is evaluated, the display window will appear if it has been closed, and pop to the front. When the command has terminated, or the expression has been evaluated, then the display will remain in front and usually a "0 Ok" message dialog will appear, indicating that all went well. Closing the "Error Message" dialog will return you to the editor, which will pop to the front of the display window again.
The behaviour of errors in BasinC has been modified to prevent corruption of the lower screen due to an error report such as was exhibited by the 48k ROM. You can use the Options dialog to alter this if you choose.