Statement terminator

A statement terminator ends a statement. In SharpBASIC every statement must end with a statement terminator, which is the semi-colon (;) for line statements and the keyword end for compound statements. Because the keyword end is considered a compound statement terminator, it is not followed by a semi-colon. Omitting a statement terminator will result in a compile error.

Line statement example:

print("this is a line statement");

Compound statement example:

sub mySub()
do
end