Search menu

BASin

Search menu

The Search menu provides tools for finding text in your program.

Find

Displays the Find window, where you can search the current program for a word or phrase.

Find Next

Finds the next single occurrence of the word or phrase after the cursor position.

Replace

Displays the Replace window, where you can search the current program for a word or phrase and replace it with another word or phrase.

Replace Next

Replaces the next single occurrence of the word or phrase after the cursor position.

Source Markers

This menu opens a submenu which you can use to manipulate Source Markers.

Source Markers are like bookmarks in your program, and can be used to quickly move around a very big program.

  • GetMarker - opens a submenu containing ten options to set a marker at the current cursor position. A small green number corresponding to the source maker's number will appear in the gutter to the left of the statement.
  • SetMarker - opens a submenu with a list of the ten markers available. Any that have been set will be enabled. Any source markers that have not been selected will not be available. Clicking one of these will send the editor cursor to the statement or line associated with it.
  • Clear All - this option will clear any source markers you have set.

Go to Line Number

Opens a small requester which allows you to type in a line number to jump to in the Editor. This line number does not have to be a number - you could specify an expression (which must end up as a number, like "2+4" or "a+6") which can be specified using any Sinclair BASIC codewords, such as functions or variable names. For example, By setting variable "A" to 10, then typing "A" into the edit box, BASin will evaluate the result as 10, and move the cursor to line 10.

Go to Error

Moves to the program line and statement that caused the last error.