Routine to Format REM and PRINT Lines

by Val J. Golding

This routine will allow you to format Applesoft REM and PRINT statements on screen without having to worry about the lines being different.  One item to take note of:  This program only works in 40 column mode in this format:

10 REM ROUTINE TO FORMAT REMARKS LINES AND PRINT STATEMENTS IN APPLESOFT II BY VAL GOLDING – 5.20.1978
20 REM APPLE PUGETSOUND PROGRAM LIBRARY EXCHANGE 6708 39TH AVE SW SEATTLE, WA. 98136
90 HOME:VTAB4
100 PRINT “THIS ROUTINE ALLOWS YOU TO FORMAT REM LINES AND PRINT STATEMENTS.  DO NOT ENTER DAYA IN THE SPACES.”:PRINT
105 PRINT:PRINT:HTAB 8:PRINT”SELECT ONE:”:PRINT:PRINT:HTAB12:PRINT “REM “:PRINT:HTAB12:PRINT “PRINT”:INPUT “]”;A$
110 IF A$=”PRINT” THEN 180
130 HOME:VTAB2
145 REM ENTER GROUPS OF 24 DASHES AND 4 SPACES
140 PRINT ”  800 REM————————    ————————    ————————    ————————    ————————    ————————“
150 IF PEEK(37)<18 THEN 140
160 PRINT:PRINT”  GOTO 130 (FOR MORE LINES)”
170 VTAB (PEEK(37)-22):END
180 HOME:VTAB2
185 REM ENTER 39 DASHES AND 1 SPACE
190 PRINT:PRINT”  800 ?’————————————— ————————————— ————————————— —————————————‘”
200 IF PEEK (37)<18 THEN 190
210 PRINT:PRINT”  GOTO 180 (FOR MORE LINES)”
220 VTAB (PEEK(37)-19):END

 

Please follow and like us:

About the Author