Skip to main content

Rem

Rem (Statement)

Format

rem comment
# comment

Description

Line comment. A line beginning with REM (or the shortened #) is ignored.

A remark may also be written inside the braces { } of a list or a map list that is spread over several lines, so that the rows of a table can be annotated as they are laid out.

Example

grid = { # the first six whole numbers
# the top row
{1,2,3},
# and the bottom row
{4,5,6}
}

See Also

Begin Case / Case / End Case, Call, Continue Do, Continue For, Continue While, Do / Until, End, Exit Do, Exit For, Exit While, For / Next, For Each / Next, Function, Global, Goto, Gosub, If Then, Pause, Ref, Rem, Return, Subroutine, While / End While

History

2.1.2A remark may be written inside the braces of a list