Apple ii Battery Charger User Manual


 
BASIC will reply with:
10 PRINT 2+3
20 PRINT 2-3
DELETING A LINE
Sometimes it is desirable to delete a line of a program altogether. This is accomplished by typing
the Line Number of the line so be deleted, followed by a carriage return.
Type in the following:
10
LIST
BASIC will reply with:
20 PRINT 2-3
We have now deleted line 10 from the program.
REPLACING A LINE
You can replace line 10, rather than just deleting it, by typing the new line 10 and hitting
RETURN.
Type in the following:
10 PRINT 3-3
LIST
BASIC will reply with:
10 PRINT 3-3
20 PRINT 2-3
It is not recommended that lines be numbered consecutively. It may become necessary to insert a
new line between two existing lines. An increment of 10 between line numbers is generally sufficient.
DELETING A PROGRAM
If you want to delete the complete program currently stored in memory, type in "NEW." If you
are finished running one program and are about to read in a new one, be sure to type in "NEW"
first.
Type in the following:
NEW
Now type in:
LIST
204 PRINTING DATA
If is often desirable to include explanatory text along with answers that are printed out.
Type in the following:
PRINT "ONE HALF EQUALS", 1/2
BASIC will reply with:
ONE THIRD EOUALS
.5
As explained in Subject 202, including a "," in a PRINT statement causes it to space over to the
next 10-column field before the value following the "," is printed.