120 PRINT:TEXT$="Select option for PC computers":GOSUB 2000:PRINT
130 COLOR 4
140 PRINT:TEXT$="0 - END - PRESS ANY KEY":GOSUB 2000:PRINT:TEXT$="1 - PAYE1 DATABASE ":GOSUB 2000:PRINT:TEXT$="2 - PAYE2 PAYROLL RUN":GOSUB 2000
150 GOSUB 5000:GOSUB 6000:COLOR 1
160 Q$=INKEY$:IF Q$="" THEN 160
180 A%=VAL(Q$):IF A%<0 OR A%>2 THEN 160
190 CLS
210 IF A%=1 THEN RUN "PAYE1"
220 IF A%=2 THEN RUN "PAYE2"
230 SCREEN 0,0,0:SYSTEM
1000 CLS:PRINT:PRINT "AN ERROR HAS BEEN FOUND AS FOLLOWS:_":PRINT:
1010 PRINT "PROGRAM LINE "ERL
1020 PRINT "ERROR TYPE "ERR
1030 PRINT
1040 IF ERR=53 THEN PRINT "FILE NOT FOUND - CHECK THAT THE CORRECT DISC IS IN DRIVE A":PRINT:PRINT "THE FILES ON THE DISC ARES AS FOLLOWS:-":PRINT:FILES:PRINT:PRINT STRING$(80,"_"):PRINT
1050 PRINT:PRINT"Press any key to continue ";
1055 G$=INKEY$:IF G$="" THEN 1055
1060 CLS:RESUME 120
2000 PRINT TAB(((80-LEN(TEXT$))/2));TEXT$
2010 RETURN
5000 REM Draw a double box
5020 R1=1:C1=1:R2=24:C2=79
5040 COLOR 2
5050 FOR I=R1+1 TO R2-1
5060 LOCATE I,C1:PRINT CHR$(186);
5070 LOCATE I,C2:PRINT CHR$(186);
5080 NEXT I
5090 FOR J=C1+1 TO C2-1
5100 LOCATE R1,J:PRINT CHR$(205);
5110 LOCATE R2,J:PRINT CHR$(205);
5120 NEXT J
5130 LOCATE R1,C1:PRINT CHR$(201);
5140 LOCATE R1,C2:PRINT CHR$(187);
5150 LOCATE R2,C1:PRINT CHR$(200);
5160 LOCATE R2,C2:PRINT CHR$(188);
5170 COLOR 0
5180 P$="Enter choice to proceed, 1 or 2, or press any key to abort.":GOSUB 6200