The syntax helper

BASin

The coding teacher

The coding teacher is located at the bottom of the editor.

coding teacher

To show or hide the coding teacher, choose Debug Windows > Coding teacher on the View menu.

If you don't want the coding teacher to appear automatically when BASin starts, clear the Show coding teacher on startup check box on the BASin tab.

The coding teacher displays a continuously updated reminder of the correct syntax for the keyword you are typing. It can help you identify and fix any problems with a program line before you enter it.

The top line of the coding teacher is a colour-coded template that illustrates the syntax of the statement being edited.

  • The return type from a function is displayed in dark green.
  • The expected item - the syntax element that comes next - is dark blue.
  • Any syntax error or missing item in the current statement is dark red.

The bottom line of the coding teacher provides a more detailed explanation of any errors.