Description

Identifies the end of a block of statements, or the physical end of a program.

Syntax

End

Remarks

Use End to designate the physical end of alternative sequences within such statements as If, Read, and Open. End must be used at the end of multi-line Then and Else statements.

When used as the last statement in BASIC+, End also terminates the program. Comment statements may be added after the last End statement in a program.

Program compilation will stop at the first End that is not part of a multi-line statement.

See also

If…Then