The syntax helper
The syntax helper is located at the bottom of the editor.
To show or hide the syntax helper, choose Debug Windows > Syntax Helper on the View menu.
If you don't want the syntax helper to appear automatically when BasinC starts, clear the Show syntax helper on startup check box on the BasinC tab.
The syntax helper 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 syntax helper 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 syntax helper provides a more detailed explanation of any errors.