5.1.4 Continuation of Long Program Statements
If a program line is too long for one line of text, you can con-
tinue the program line by typing an ampersand ( & ) and
pressing Return at the end of the line. Note that only spaces
and tabs are valid between the ampersand and the carriage
return.
A single statement that spans several text lines requires an
ampersand at the end of each continued line. For example:
OPEN "SAMPLE.DAT" AS FILE #2%, &
SEQUENTIAL VARIABLE, &
RECORDSIZE 80%
In an IF...THEN...ELSE construction, ampersands (&) are
not necessary. If a continuation line begins with THEN or
ELSE, then no ampersand is necessary. Similarly, in a line
following a THEN or an ELSE, there is no ampersand.
IF (A$ = B$)
THEN
PRINT "The two values are equal"
ELSE
PRINT "The two values are different"
END IF
Several statements can be associated with a single program
line. If there are several statements on one line, they must be
separated by backslashes ( \ ). For example:
PRINT A \ PRINT V \ PRINT G
Because all statements are on the same program line, any
reference to this program line refers to all three statements.