Original Author Paul Laughton, 2011
Page 35
De Re BASIC!
the program prints something
the END statement is executed
you are in Echo mode
there is a run-time error
If the program does not print anything then the only indication you would get that the program has
finished is if the program ends with an End statement.
If the program does not contain any executable statements then the message, "Nothing to execute" will
be displayed.
Tapping the BACK key will stop a running program. Tapping the BACK key when the program run has
ended will restart the Editor.
If the program ended with a run-time error, the line where the error occurred will be shown selected in
the Editor. If the error occurred in an INCLUDE file then the INCLUDE statement will be shown selected.
The Editor cursor will remain where it was when the Run was started if no run-time error occurred.
Menu
Pressing the MENU key or touching the Menu icon while a program is running or after the program is
stopped will cause the Run Menu to be displayed. (Except when Graphics is running. See the Graphics
section for details.)
Stop
If a program is running, the Stop menu item will be enabled. Tapping Stop will stop the running
program. Stop will not be enabled if a program is not running.
Editor
Editor will not be enabled if a program is running. If the program has stopped and Editor is thus enabled
then selecting Editor will cause the Editor to be re-entered. You could also use the BACK key to do this.
Crashes
BASIC! is a very large and complex program that is constantly under development. From time to time, it
will crash. The best way to report a crash is to visit the BASIC! forum.
A BASIC! Program
A BASIC! program is made up of lines of text. With a few exceptions that will be explained later, each
line of text is one or more statements. If a line has more than one statement they are separated by
colon (":") characters.
A statement always consists of a single command, usually followed by one or more parameters that are
separated by commas. Here is a simple BASIC! program: