program line
a statement preceded by a line number (and optional line label) that is
stored in a program. Examples are:
100 CAT":. 700"
250
COpy "MyProg" TO "BackupFile"
875 Line_label:
LOAD "MyProg"
Statements as Commands vs. Program Lines
In generaL a statement ran he useG as either:
• A command-if the statement is executed from the keyboard; for example:
PRINT "This is a keyboard command."
I
Return
I
• A program line
if the statement contains a leading line number; for instance:
100 PRINT "This is a program line."
However, there are some statements that cannot be:
• Executed as commands (such as DIM and RETURN)
100 DIM String_var$[100]
• Stored as program lines (such as DEL and SCRATCH)
SCRATCH A
The general case is that statements are both programmable and keyboard executable.
such as CALL and PRINT. The BASIC Language Reference shows whether or not each
keyword is keyboard executable or
programmable~
or both.
6-2
Editing and Storing Programs