; Reserved Character

The ; (semicolon) reserved character separates multiple FlashBASIC or BASIC statements on a single line.

Syntax

statement {; statement...}

Description

A FlashBASIC or BASIC statement can end with a semicolon because it allows null or blank lines in a program.

NOTE

Multiple complex statements on a single line can be difficult to read.

Example(s)

This shows multiple statements on a single line.

x = 10 ; y = 15 ; z = x * y ; crt z

This shows a for...next loop on the same line.

for i=1 to 9; crt field(s,’ ’,i); next i