1480 LOCATE 24,1:PRINT"TYPE <RETURN> TO CONTINUE...";:INPUT W:SCREEN 0,0
1490 PRINT"I'M DOING SOME CALCULATION. PLEASE WAIT..."
1500 RETURN
1510 T$="DO YOU WANT TO RUN THIS PROGRAM AGAIN (Y/N)? ":LC=23:GOSUB 1570
1520 AN$=INKEY$
1530 IF AN$="Y" OR AN$="y" THEN RUN
1540 IF AN$="N" OR AN$="n" THEN END
1550 GOTO 1510
1560 :
1570 LOCATE LC,(80-LEN(T$))/2+1:PRINT T$:RETURN 'SUBROUTINE TO CENTRE TEXT
1600 SCREEN 0,0,0:SOUND 1510,10:COLOR 7,0:LOCATE 25,10:PRINT "Key: Esc to End or `R' to Run Again or `S' to Return Start";CHR$(29);:COLOR 15,0:LOCATE 25,15:PRINT "Esc";:LOCATE 25,30:PRINT "R";:LOCATE 25,50:PRINT "S";CHR$(29);:COLOR 7,0
1610 E$=INKEY$:IF E$="" THEN 1610 ELSE IF E$=CHR$(27) THEN CLS:END ELSE IF E$="R" OR E$="r" THEN RUN ELSE IF E$="S" OR E$="s" THEN RUN "START
1620 GOTO 1610
1630 '//////////////// Routine to Draw a Box //////////////////