Source Markers

BASin

Source Markers

Source Markers are available from the Search menu.

BASIC code marked with two source markers

Source Markers are a method of managing large BASIC programs easily. You can use these to "mark" important sections of code, and once marked, can jump back to them from anywhere in your program. Lines and statements that have been marked have a small green number next to them in the gutter to the left of the line, as in the illustration above.

Setting a source marker

To set a source marker, use the Search Menu. You can also move the editor cursor to the line or statement you want to mark, and then press CTRL-SHIFT and a number from 0 to 9.

Jumping to a source marker

You can retrieve a source marker that has previously been set by using the Search menu. You can also use CTRL and the number of the source marker you wish to jump to.

Note: you cannot jump to a source marker that has not been previously been defined, for obvious reasons.

Clearing source markers

You can clear all the source markers by using the Clear all option on the Search menu. Once cleared, none of the source markers will be available.

Note: If you clear your program using NEW or by loading a new program, the source markers will be automatically cleared.