BasinC tab

BasinC tab

The BasinC tab can be found in the Options window.

Options window, 'Basin' tab.

Programming aids

Restore previous session

When the user exits BasinC, the current state of the editor and the emulator is saved in the BasinC folder under the filename "Session.bin". It is safe to delete this file, as BasinC does not require it to run. When this option is enabled, and the file exists in BasinC's folder, BasinC will load that state, allowing you to continue programming where you left off.

Show syntax helper on startup

If this box is checked, the syntax helper appears in the editor when you start BasinC. To show or hide it temporarily, use the option on the View menu.

Auto line number (.)

If this box is checked, you can start program lines with a . full stop instead of a line number. BasinC will automatically choose a line number for you: the next available multiple of 10 (at the end of a program) or a number halfway between the last entered line and the one that follows it (in the middle of a program).

Predictive auto-typing

If this box is checked, BasinC will suggest likely keywords while you are typing. Keyword suggestions are displayed in grey ahead of the edit cursor. You can accept a suggestion by pressing , or ignore it by continuing to type.

Note: On slower computers, BasinC may perform poorly if this option is enabled.

Line overwrite protection

This editor feature helps to protect you from accidentally overwriting program lines with new ones. By default, BasinC will alert you by flashing a green cursor at the start of the line, and making the error-beep sound. Pressing return a second time signals to BasinC that you have understood that you are about to replace a line, and performs the replace operation. If you elect not to replace, you can edit as normal, changing the line number to one more appropriate. There are three methods available for this option:

Note: the Add Code Window treats all lines as "new" and will warn on all that may cause a line-replace, if this option is set to either of the latter two types.

Brackets completion

Determines whether BasinC automatically balances unmatched opening brackets with corresponding closing brackets.

Graphics modifier

Whilst editing programs, graphics mode allows you to enter colour codes and user defined graphics (UDGs). This option determines which key is used to enable graphics mode.