750 HOME : VTAB 23: PRINT "Enter 'E' to erase the results of a game.": VTAB 19: PRINT "Points for the "TE$(SE)":";: INPUT "";PF$: IF PF$ = "" THEN PF$ = "0"
760 IF PF$ = "e" OR PF$ = "E" THEN 1020
770 HOME : PRINT : PRINT "Points for the "TE$(TN)":";: INPUT "";PA$: IF PA$ = "" THEN PA$ = "0"
1060 PRINT "Team W L T Team W L T ===============================================================================": REM 18/3/3/8/18/3/3/10 SPACES,79 ='S
1080 PRINT CHR$(4)"OPEN NFL.DATA."YR$",L640": FOR I = 1 TO 14: PRINT CHR$(4)"READ NFL.DATA."YR$",R"I
1090 FOR J = 1 TO 16: INPUT A$,A$,A$,W%(J),L%(J),T%(J):W% = W% +W%(J):L% = L% +L%(J):T% = T% +T%(J): NEXT
1580 PC$ = STR$(PC(I)): IF PC$ = "0" THEN PC$ = ".000": GOTO 1620
1590 IF PC$ = "1" THEN PC$ = "1.000": GOTO 1620
1600 IF LEN(PC$) <4 THEN PC$ = PC$ +"0": GOTO 1600
1610 IF LEN(PC$) >4 THEN PC$ = LEFT$(PC$,4)
1620 POKE 1403,55 - LEN(PC$): PRINT PC$
1630 NEXT : RETURN
1640 VTAB 23: PRINT "Press 'ESC' for the main menu, press RETURN for more.";: WAIT -16384,128: POKE -16368,0: IF PEEK( -16384) = 27 THEN TEXT : HOME : POP : RETURN
1650 HOME : RETURN
1660 HOME :A$ = "<*> Game Predictions <*>": GOSUB 2210:PR = 0
1670 POKE 34,1: HOME : GOSUB 2090
1680 VTAB 20: INPUT "Enter HOME team's number:";T1$:T1 = VAL(T1$): IF T1 = 0 THEN TEXT : RETURN
1690 IF T1 <1 OR T1 >28 THEN PRINT CHR$(7): VTAB 20: CALL -958: GOTO 1680
1700 VTAB 21: INPUT "Enter AWAY team's number:";T2$:T2 = VAL(T2$): IF T2 <1 OR T2 >28 THEN PRINT CHR$(7): VTAB 21: CALL -958: GOTO 1700
1710 IF T2 = T1 THEN PRINT CHR$(7): VTAB 21: CALL -958: GOTO 1700
2020 VTAB 22: INPUT "Another prediction (Y/N) ?";YN$: IF LEFT$(YN$,1) = "y" OR LEFT$(YN$,1) = "Y" OR YN$ = "" THEN HOME : POKE 32,49: POKE 33,30: POKE 34,0: HOME : POKE 32,0: POKE 33,80: POKE 34,17: GOTO 1680
2030 VTAB 18: CALL -958: VTAB 20: INPUT "Do you want a printout of these predictions?";YN$
2040 IF LEFT$(YN$,1) = "n" OR LEFT$(YN$,1) = "N" THEN TEXT : RETURN
2050 PRINT CHR$(4)"PR#1": PRINT CHR$(9)"80N"
2060 PRINT "N.F.L. LINE Predictions": PRINT "=======================": REM 23 equal signs
2070 PRINT CHR$(4)"OPEN PREDICTIONS,L80": FOR I = 1 TO PR: PRINT CHR$(4)"READ PREDICTIONS,R"I: INPUT A$: PRINT A$: NEXT : PRINT CHR$(4)"CLOSE"
2080 PRINT CHR$(4)"PR#0": PRINT CHR$(4)"PR#A$C307": TEXT : RETURN
2090 PRINT : FOR I = 1 TO 14: IF I <10 THEN PRINT " ";
2100 PRINT I" "TE$(I): NEXT
2110 POKE 32,24: POKE 33,24: POKE 34,2: POKE 35,17: HOME
2120 FOR I = 15 TO 28: PRINT I" "TE$(I): NEXT
2130 TEXT : POKE 34,16: HOME
2140 RETURN
2150 HOME : VTAB 12: PRINT "There are no data files on this disk. Do you want to create one?";: INPUT "";YN$: IF LEFT$(YN$,1) = "y" OR LEFT$(YN$,1) = "Y" THEN 2170
2160 TEXT : HOME : PRINT D$"PREFIX/": END
2170 VTAB 14: INPUT "Enter the current year :";YR$: IF LEN(YR$) <4 THEN PRINT CHR$(7): VTAB 14: CALL -958: GOTO 2170
2180 HOME : VTAB 12:A$ = "Please wait. Data files being created.": GOSUB 2200
2310 IF ER = 7 AND EF = 1 THEN PRINT : PRINT CHR$(4)"CREATE NFL.DATA": PRINT CHR$(4)"PREFIX NFL.DATA": GOTO 2150
2320 IF ER = 6 AND (EF = 2 OR EF = 3) THEN 2450
2330 PRINT CHR$(4)"CLOSE": TEXT : HOME : VTAB 12
2340 IF ER = 4 THEN PRINT "Disk is Write Protected. Option aborted.": GOTO 2420
2350 IF ER = 8 OR ER = 6 THEN PRINT "I/O Error. Check drive door. ";: GOTO 2410
2360 IF ER = 9 THEN PRINT "Disk Full. ";: GOTO 2410
2370 IF ER = 10 THEN PRINT "Data file is locked. ";: GOTO 2410
2380 IF ER = 17 THEN PRINT "Directory Full. ";: GOTO 2410
2390 IF ER = 255 THEN PRINT "Control-C interrupt. ";: GOTO 2410
2400 POKE 216,0: TEXT : HOME : VTAB 12: PRINT "ERROR "ER" HAS OCCURRED IN LINE "EL".": PRINT "PLEASE CHECK YOUR APPLESOFT OR PRODOS MANUAL.": PRINT CHR$(4)"CLOSE": PRINT CHR$(4)"PREFIX"PR$: END
2410 PRINT "Option cancelled."
2420 VTAB 22: PRINT "Press a key for the main menu.";: GET A$: PRINT A$: IF EL <150 THEN PRINT CHR$(4)"PREFIX/": RUN
2430 GOTO 260
2440 TEXT : HOME : VTAB 12: PRINT "APPLE //E OR //C WITH AN 80 COLUMN TEXT CARD IS REQUIRED.": PRINT D$"PREFIX/": END
2450 HOME : VTAB 12: PRINT "There is no data file for "YR$". Do you want to create one?";: INPUT "";YN$
2460 IF (EF = 2 OR EF = 3) AND ( LEFT$(YN$,1) = "Y" OR LEFT$(YN$,1) = "y") THEN HOME : GOTO 2180