Home » Personal collection » Acorn DFS disks » dfs_box03_disk02_format_some_games.scp » W.BIORTHM » Compare

Compare W.BIORTHM with BIORHYTHMS

File: Personal collection » Acorn DFS disks » dfs_box03_disk02_format_some_games.scp » W.BIORTHM
Compared with: Personal collection » Acorn tapes » Commercial_Releases » boxed_acornsoft_tape13a_acorn_bbc_welcome_cassette.wav » BIORHYTHMS
Similarity: 99% of bytes duplicated

234 of 243 lines (96.5%) are identical in the two listings. Duplicated Different

Line numbers are ignored when comparing lines, so that renumbered programs still match.

W.BIORTHM BIORHYTHMS
10 REM BIO/Biorhythms 10 REM BIO/Biorhythms
12 REM Written by David Tee and Jerry Temple-Fry (NETHERHALL SCHOOL) and Richard G Warner 12 REM Written by David Tee and Jerry Temple-Fry (NETHERHALL SCHOOL) and Richard G Warner
13 REM Version 5 - October 1981 13 REM Version 5 - October 1981
14 REM For BBC Model A Microcomputer 16K Minimum 14 REM For BBC Model A Microcomputer 16K Minimum
40 ON ERROR GOTO50 40 ON ERROR GOTO50
50 MODE 7 50 MODE7:IF M%=0 THEN PRINTTAB(5,16);"Press the STOP button"'" on your tape recorder":PROCSPACE
60 CLS:ON ERROR GOTO 800 60 CLS:ON ERROR GOTO 800
100 PROCTITLEPAGE:PROCINIT 100 PROCTITLEPAGE:PROCINIT
110 DIM L(6),T%(6),S%(6) 110 DIM L(6),T%(6),S%(6)
120 PROCINTRO 120 PROCINTRO
200 CLS:PRINT'' 200 CLS:PRINT''
210 PRINT" To ged your individual Biorhythm" 210 PRINT" To get your individual Biorhythm"
220 PRINT"plot, two dates are needed."' 220 PRINT"plot, two dates are needed."'
230 PRINT" First, enter your date of birth:" 230 PRINT" First, enter your date of birth:"
240 PRINTTAB(4,7);:IF NOT FNDADEOK(1) THEN 240 240 PRINTTAB(4,7);:IF NOT FNDATEOK(1) THEN 240
250 Y1=Y:M1=M:D1=D 250 Y1=Y:M1=M:D1=D
260 PRINTTAB(4,9);"and the date for the plot (you" 260 PRINTTAB(4,9);"and the date for the plot (you"
270 PRINT"will get a plot giving 10 days on" 270 PRINT"will get a plot giving 10 days on"
280 PRINT"each side of this date):" 280 PRINT"each side of this date):"
290 PRINTTAB(4,12);:IF NOT FNDATEOK(2) THEN 290 290 PRINTTAB(4,12);:IF NOT FNDATEOK(2) THEN 290
300 Y2=Y:M2=M:D2=D:LAPSE=FNTIMELAPSE 300 Y2=Y:M2=M:D2=D:LAPSE=FNTIMELAPSE
310 IF LAPSE<0 THEN PROCERROR(9):GOTO200 310 IF LAPSE<0 THEN PROCERROR(9):GOTO200
320 IF LAPSE<10 THEN PROCERROR(10):GOTO200 320 IF LAPSE<10 THEN PROCERROR(10):GOTO200
330 PRINTTAB(0,18);"Elapsed days since birth ....";LAPSE 330 PRINTTAB(0,18);"Elapsed days since birth ....";LAPSE
340 PROCSPACE 340 PROCSPACE
400 A%=23:B%=28:C%=33 400 A%=23:B%=28:C%=33
410 D%=LAPSE-!0 410 D%=LAPSE-10
420 E%=100:F%=1100:I%=(F%-E%)/20 420 E%=100:F%=1100:I%=(F%-E%)/20
430 X%=500:Y%=450:Z%=1 430 X%=500:Y%=450:Z%=1
490 GOTO900 490 GOTO900
800 IF ERR<>17 THEN REPORT:PRINT" in line ";ERL:END 800 IF ERR<>17 THEN REPORT:PRINT" in line ";ERL:END
810 Z%=2 810 Z%=2
900 CHAIN "BPART2" 900 CLS:IF M%=0 THEN PRINTTAB(5,5);"Press the PLAY button"'" on your tape recorder"
990 CHAIN"BIO"
1000 DEFPROCINTRO 1000 DEFPROCINTRO
1005 CLS:PRINT' 1005 CLS:PRINT'
1010 PRINT" Some people believe that human" 1010 PRINT" Some people believe that human"
1020 PRINT"temperament and behaviour seem to" 1020 PRINT"temperament and behaviour seem to"
1030 PRINT"follow predictable becurring patterns."' 1030 PRINT"follow predictable recurring patterns."'
1040 PRINT" These patterns, 'BIORHYTHMS', can" 1040 PRINT" These patterns, 'BIORHYTHMS', can"
1050 PRINT"be broken down into three cycles: -"' 1050 PRINT"be broken down into three cycles: -"'
1060 PRINT"INTELLECTUAL - a cycle of 33 days," 1060 PRINT"INTELLECTUAL - a cycle of 33 days,"
1070 PRINT" affecting concentration, judgement" 1070 PRINT" affecting concentration, judgement"
1080 PRINT" and learning abilities."' 1080 PRINT" and learning abilities."'
1100 PRINT"EMOTIONAL - a cycle of 28 days," 1100 PRINT"EMOTIONAL - a cycle of 28 days,"
1110 PRINT" controlling moods, creativity and" 1110 PRINT" controlling moods, creativity and"
1120 PRINT" emotional life."' 1120 PRINT" emotional life."'
1140 PRINT"PHYSICAL - a cycle of 23 days," 1140 PRINT"PHYSICAL - a cycle of 23 days,"
1150 PRINT" governing energy, coordination" 1150 PRINT" governing energy, coordination"
1160 PRINT" and stamina." 1160 PRINT" and stamina."
1190 PROCSPACE 1190 PROCSPACE
1200 CLS:PRINT' 1200 CLS:PRINT'
1210 PRINT" These cycles start at birdh and" 1210 PRINT" These cycles start at birth and"
1220 PRINT"continue with absolute regularity" 1220 PRINT"continue with absolute regularity"
1230 PRINT"throughout life."' 1230 PRINT"throughout life."'
1300 PRINT" Each cycle has a positive phase and" 1300 PRINT" Each cycle has a positive phase and"
1310 PRINT"a negative phase."' 1310 PRINT"a negative phase."'
1320 PRINT" During the positive phase, the" 1320 PRINT" During the positive phase, the"
1330 PRINT"energy controlled by that cycle is" 1330 PRINT"energy controlled by that cycle is"
1340 PRINT"being discharged. Thece are days when" 1340 PRINT"being discharged. These are days when"
1350 PRINT"positive aspects of the cycle are" 1350 PRINT"positive aspects of the cycle are"
1360 PRINT"enhanced."' 1360 PRINT"enhanced."'
1400 PRINT" The negative phase is a period of" 1400 PRINT" The negative phase is a period of"
1410 PRINT"recharging, when energy and vitality" 1410 PRINT"recharging, when energy and vitality"
1420 PRINT"are reduced." 1420 PRINT"are reduced."
1490 PROCSPACE 1490 PROCSPACE
1500 CLS:PRINT'' 1500 CLS:PRINT''
1510 PRINT" A critical day is when a cycle" 1510 PRINT" A critical day is when a cycle"
1520 PRINT"changes phase."' 1520 PRINT"changes phase."'
1530 PRINT" These are days when you are more" 1530 PRINT" These are days when you are more"
1540 PRINT"likely to have accidents. Care must" 1540 PRINT"likely to have accidents. Care must"
1550 PRINT"be taken on these days."' 1550 PRINT"be taken on these days."'
1600 PRINT" This is especially true when two" 1600 PRINT" This is especially true when two"
1610 PRINT"cycles change on the same day."' 1610 PRINT"cycles change on the same day."'
1620 PRINT" When all three cycles change on" 1620 PRINT" When all three cycles change on"
1630 PRINT"the same day, you would be well" 1630 PRINT"the same day, you would be well"
1640 PRINT"advised to stay in bed!" 1640 PRINT"advised to stay in bed!"
1690 PROCSPACE 1690 PROCSPACE
1699 ENDPROC 1699 ENDPROC
4000 DEFPROCANALYSE 4000 DEFPROCANALYSE
4010 LOCAL L,S,T 4010 LOCAL L,S,T
4020 CNT=0:I=1:PROCNEXTCHAR 4020 CNT=0:I=1:PROCNEXTCHAR
4100 IF FNFILLER(T$) THEN PROCNEXTCHAR:GOTO4100 4100 IF FNFILLER(T$) THEN PROCNEXTCHAR:GOTO4100
4110 S=I-1:IF NOT FNDIGIT(T$) THEN 4140 4110 S=I-1:IF NOT FNDIGIT(T$) THEN 4140
4120 L=0:T=0 4120 L=0:T=0
4130 REPEAT:L=ASC(T$)-48+L*10:PROCNEXTCHAR:UNTIL NOT FNDIGIT(T$):GOTO4200 4130 REPEAT:L=ASC(T$)-48+L*10:PROCNEXTCHAR:UNTIL NOT FNDIGIT(T$):GOTO4200
4140 IF NOT FNLETTER(T$) THEN 4170 4140 IF NOT FNLETTER(T$) THEN 4170
4150 T=1:L=0 4150 T=1:L=0
4160 REPEAT:L=L+1:PROCNEXTCHAR:UNTIL NOT FNLETTER(T$):GOTO4200 4160 REPEAT:L=L+1:PROCNEXTCHAR:UNTIL NOT FNLETTER(T$):GOTO4200
4170 IF T$=CHR$(0) THEN 4299 4170 IF T$=CHR$(0) THEN 4299
4180 T=2:L=1:PROCNEXTCHAR 4180 T=2:L=1:PROCNEXTCHAR
4200 CNT=CNT+1:IF CNT<6 THEN T%(CNT)=T:S%(CNT)=S:L(CNT)=L 4200 CNT=CNT+1:IF CNT<6 THEN T%(CNT)=T:S%(CNT)=S:L(CNT)=L
4210 GOTO4100 4210 GOTO4100
4299 ENDPROC 4299 ENDPROC
4500 DEFPROCNEXTCHAR 4500 DEFPROCNEXTCHAR
4510 IF I>LEN(D$) THEN T$=CHR$(0) ELSE T$=MID$(D$,I,1):I=I+1 4510 IF I>LEN(D$) THEN T$=CHR$(0) ELSE T$=MID$(D$,I,1):I=I+1
4599 ENDPROC 4599 ENDPROC
4600 DEFFNDIGIT(T$) 4600 DEFFNDIGIT(T$)
4610 IF "0"<=T$ AND T$<="9" THEN =TRUE ELSE =FALSE 4610 IF "0"<=T$ AND T$<="9" THEN =TRUE ELSE =FALSE
4700 DEFFNLETTER(T$) 4700 DEFFNLETTER(T$)
4710 IF "A"<=T$ AND T$<="Z" THEN =TRUE ELSE =FALSE 4710 IF "A"<=T$ AND T$<="Z" THEN =TRUE ELSE =FALSE
4800 DEFFNFILLER(T$) 4800 DEFFNFILLER(T$)
4810 IF T$=" " OR T$="." OR T$="/" OR T$="-" OR T$="," OR T$=":" THEN =TRUE ELSE =FALSE 4810 IF T$=" " OR T$="." OR T$="/" OR T$="-" OR T$="," OR T$=":" THEN =TRUE ELSE =FALSE
5000 DEFFNDATEOK(NO) 5000 DEFFNDATEOK(NO)
5010 REM GET AND DEDUCE DATE 5010 REM GET AND DEDUCE DATE
5020 REM PUT IN D,M & Y 5020 REM PUT IN D,M & Y
5030 PROCGPI(0,30):D$="" 5030 PROCGPI(0,30):D$=""
5040 FOR I=1 TO LEN(A$):T=ASC(MID$(A$,I,1)) 5040 FOR I=1 TO LEN(A$):T=ASC(MID$(A$,I,1))
5050 IF T>96 AND T<123 THEN T=T-32 5050 IF T>96 AND T<123 THEN T=T-32
5055 D$=D$+CHR$(T):NEXT 5055 D$=D$+CHR$(T):NEXT
5060 IF D$="TODAY" THEN PROCERROR(6+NO):=FALSE 5060 IF D$="TODAY" THEN PROCERROR(6+NO):=FALSE
5070 PROCANALYSE 5070 PROCANALYSE
5080 X=FNCHECKDATE:IF X>1 THEN PROCERROR(X):=FALSE 5080 X=FNCHECKDATE:IF X>1 THEN PROCERROR(X):=FALSE
5090 =TRUE 5090 =TRUE
5200 DEFFNCHECKDATE 5200 DEFFNCHECKDATE
5210 IF CNT=0 OR CNT>6 THEN=2 5210 IF CNT=0 OR CNT>6 THEN=2
5220 IF T%(CNT)>0 THEN =3:REM NO YEAR 5220 IF T%(CNT)>0 THEN =3:REM NO YEAR
5230 Y=L(CNT):IF Y<100 THEN Y=1900+Y 5230 Y=L(CNT):IF Y<100 THEN Y=1900+Y
5240 IF Y<1900 OR Y>2000 THEN =3 5240 IF Y<1900 OR Y>2000 THEN =3
5250 CNT=CNT-1:IF CNT=0 THEN =2 5250 CNT=CNT-1:IF CNT=0 THEN =2
5300 C=1:IF T%(1)=1 THEN 5400 5300 C=1:IF T%(1)=1 THEN 5400
5310 IF T%(1)=2 THEN =4 5310 IF T%(1)=2 THEN =4
5320 PROCGETDAY 5320 PROCGETDAY
5330 IF C>CNT THEN =2 5330 IF C>CNT THEN =2
5340 PROCGETMONTH:IF M=0 THEN =5 5340 PROCGETMONTH:IF M=0 THEN =5
5350 GOTO5500 5350 GOTO5500
5400 PROCGETMONTH:IF M=0 THEN =5 5400 PROCGETMONTH:IF M=0 THEN =5
5410 IF C>CNT THEN =2 5410 IF C>CNT THEN =2
5420 IF T%(C)=1 THEN =6 5420 IF T%(C)=1 THEN =6
5430 PROCGETDAY 5430 PROCGETDAY
5500 IF C<CNT THEN =2 5500 IF C<CNT THEN =2
5510 IF D<=NDAY(M) THEN =1 5510 IF D<=NDAY(M) THEN =1
5520 IF FNLEAP(Y) AND D=29 AND M=2 THEN =1 ELSE =6 5520 IF FNLEAP(Y) AND D=29 AND M=2 THEN =1 ELSE =6
5700 DEFPROCGETDAY 5700 DEFPROCGETDAY
5710 D=L(C):C=C+1:IF C>CNT THEN 5799 5710 D=L(C):C=C+1:IF C>CNT THEN 5799
5720 IF T%(C)<>1 THEN 5799 5720 IF T%(C)<>1 THEN 5799
5730 T$=LEFT$(MID$(D$,S%(C),L(C)),2) 5730 T$=LEFT$(MID$(D$,S%(C),L(C)),2)
5740 IF T$="ST" OR T$="RD" OR T$="ND" OR T$="TH" THEN 5760 5740 IF T$="ST" OR T$="RD" OR T$="ND" OR T$="TH" THEN 5760
5750 GOTO5799 5750 GOTO5799
5760 L(C)=L(C)-2:S%(C)=S%(C)+2:IF L(C)=0 THEN C=C+1 5760 L(C)=L(C)-2:S%(C)=S%(C)+2:IF L(C)=0 THEN C=C+1
5799 ENDPROC 5799 ENDPROC
5800 DEFPROCGETMONTH 5800 DEFPROCGETMONTH
5810 IF T%(C)>0 THEN 5840 5810 IF T%(C)>0 THEN 5840
5820 M=L(C):IF M>12 THEN 5880 5820 M=L(C):IF M>12 THEN 5880
5830 GOTO5890 5830 GOTO5890
5840 M=12:M$=MID$(D$,S%(C),L(C)) 5840 M=12:M$=MID$(D$,S%(C),L(C))
5850 IF LEN(M$)<3 THEN 5880 5850 IF LEN(M$)<3 THEN 5880
5860 IF LEFT$(MON$(M),LEN(M$))=M$ THEN 5890 5860 IF LEFT$(MON$(M),LEN(M$))=M$ THEN 5890
5870 M=M-1:IF M>0 THEN 5860 5870 M=M-1:IF M>0 THEN 5860
5880 M=0:GOTO5899 5880 M=0:GOTO5899
5890 C=C+1 5890 C=C+1
5899 ENDPROC 5899 ENDPROC
6000 DEFFNTIMELAPSE 6000 DEFFNTIMELAPSE
6010 REM CALCULATE NUMBER OF DAYS BETWEEN 2 DATES 6010 REM CALCULATE NUMBER OF DAYS BETWEEN 2 DATES
6020 REM DATES IN D1/M1/Y1 & D2/M2/Y2 6020 REM DATES IN D1/M1/Y1 & D2/M2/Y2
6100 L=365*(Y2-Y1) 6100 L=365*(Y2-Y1)
6110 IF M2>1 THEN FOR X=1 TO M2-1:L=L+NDAY(X):NEXTX 6110 IF M2>1 THEN FOR X=1 TO M2-1:L=L+NDAY(X):NEXTX
6120 IF M1>1 THEN FOR X=1 TO M1-1:L=L-NDAY(X):NEXTX 6120 IF M1>1 THEN FOR X=1 TO M1-1:L=L-NDAY(X):NEXTX
6130 L=L+D2-D1 6130 L=L+D2-D1
6140 REM ADJUST FOR LEAP YEARS 6140 REM ADJUST FOR LEAP YEARS
6200 Y=(Y1 DIV 4)*4 6200 Y=(Y1 DIV 4)*4
6210 Y=Y+4:IF Y>=Y2 THEN 6250 6210 Y=Y+4:IF Y>=Y2 THEN 6250
6220 IF FNLEAP(Y) THEN L=L+1 6220 IF FNLEAP(Y) THEN L=L+1
6230 GOTO6210 6230 GOTO6210
6250 IF Y1=Y2 THEN 6300 6250 IF Y1=Y2 THEN 6300
6260 IF FNLEAP(Y1) AND M1<3 THEN L=L+1 6260 IF FNLEAP(Y1) AND M1<3 THEN L=L+1
6270 IF FNLEAP(Y2) AND M2>2 THEN L=L+1 6270 IF FNLEAP(Y2) AND M2>2 THEN L=L+1
6280 =L 6280 =L
6300 IF FNLEAP(Y1) AND M1<3 AND M2>2 THEN L=L+1 6300 IF FNLEAP(Y1) AND M1<3 AND M2>2 THEN L=L+1
6310 =L 6310 =L
6500 DEFFNLEAP(Y) 6500 DEFFNLEAP(Y)
6510 REM RETURNS TRUE IF Y IS A LEAP YEAR 6510 REM RETURNS TRUE IF Y IS A LEAP YEAR
6520 IF Y MOD 4=0 AND (Y MOD 100<>0 OR Y MOD 400=0) THEN =TRUE ELSE =FALSE 6520 IF Y MOD 4=0 AND (Y MOD 100<>0 OR Y MOD 400=0) THEN =TRUE ELSE =FALSE
7000 DEFPROCINIT:REM INITIALISE 7000 DEFPROCINIT:REM INITIALISE
7020 DIM NDAY(12),MON$(12) 7020 DIM NDAY(12),MON$(12)
7030 FOR K=1 TO 12:READ NDAY(K):NEXT 7030 FOR K=1 TO 12:READ NDAY(K):NEXT
7040 DATA 31,28,31,30,31,30,31,31,30,31,30,31 7040 DATA 31,28,31,30,31,30,31,31,30,31,30,31
7050 FOR K=1 TO 12:READ MON$(K):NEXT 7050 FOR K=1 TO 12:READ MON$(K):NEXT
7060 DATA "JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE" 7060 DATA "JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE"
7070 DATA "JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER" 7070 DATA "JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"
7099 ENDPROC 7099 ENDPROC
7200 DEFPROCERROR(X) 7200 DEFPROCERROR(X)
7210 PRINTTAB(0,16); 7210 PRINTTAB(0,16);
7220 ON X GOTO 7499,7320,7330,7340,7350,7360,7370,7380,7390,7300 7220 ON X GOTO 7499,7320,7330,7340,7350,7360,7370,7380,7390,7300
7300 PRINT"You must be at least 10 days old"'"to get a plot.":GOTO7400 7300 PRINT"You must be at least 10 days old"'"to get a plot.":GOTO7400
7320 PRINT"Can't understand that.":GOTO7400 7320 PRINT"Can't understand that.":GOTO7400
7330 PRINT"That does not contain a year in the"'"range 1900 to 2020.":GOTO7400 7330 PRINT"That does not contain a year in the"'"range 1900 to 2020.":GOTO7400
7340 PRINT"Can't understand the day or month.":GOTO7400 7340 PRINT"Can't understand the day or month.":GOTO7400
7350 PRINT"Not sure about that month.":GOTO7400 7350 PRINT"Not sure about that month.":GOTO7400
7360 PRINT"Not sure about that day.":GOTO7400 7360 PRINT"Not sure about that day.":GOTO7400
7370 PRINT"HAPPY BIRTHDAY." 7370 PRINT"HAPPY BIRTHDAY."
7380 PRINT"But what is today's date?":GOTO7400 7380 PRINT"But what is today's date?":GOTO7400
7390 PRINT"Your date of birth must be the"'"earliest date that you enter." 7390 PRINT"Your date of birth must be the"'"earliest date that you enter."
7400 PRINT'"Try Again.":PROCSPACE 7400 PRINT'"Try Again.":PROCSPACE
7410 FOR K=16 TO 22 7410 FOR K=16 TO 22
7420 PRINTTAB(0,K);STRING$(40," ") 7420 PRINTTAB(0,K);STRING$(40," ")
7430 NEXT 7430 NEXT
7499 ENDPROC 7499 ENDPROC
8000 DEFPROCDBL(X$,X,Y) 8000 DEFPROCDBL(X$,X,Y)
8010 PRINTTAB(X-1,Y);CHR$(141);X$ 8010 PRINTTAB(X-1,Y);CHR$(141);X$
8020 PRINTTAB(X-1,Y+1);CHR$(141);X$ 8020 PRINTTAB(X-1,Y+1);CHR$(141);X$
8099 ENDPROC 8099 ENDPROC
8100 DEFPROCWAIT(X) 8100 DEFPROCWAIT(X)
8110 LOCAL Z 8110 LOCAL Z
8120 Z=TIME 8120 Z=TIME
8130 REPEAT UNTIL TIME-Z>X*100 8130 REPEAT UNTIL TIME-Z>X*100
8199 ENDPROC 8199 ENDPROC
8200 DEFPROCSPACE 8200 DEFPROCSPACE
8220 PRINTTAB(3,22);"Press the SPACE BAR to continue";:PROCKCL 8220 PRINTTAB(3,22);"Press the SPACE BAR to continue";:PROCKCL
8240 REPEAT UNTIL GET$=" " 8240 REPEAT UNTIL GET$=" "
8299 ENDPROC 8299 ENDPROC
8300 DEFPROCTITLEPAGE 8300 DEFPROCTITLEPAGE
8310 CLS:PROCDBL("BIORHYTHMS",8,9) 8310 CLS:PROCDBL("BIORHYTHMS",8,9)
8320 PROCOFF:N%=INKEY(500) 8320 PROCOFF:N%=INKEY(500)
8399 ENDPROC 8399 ENDPROC
8800 DEFPROCKCL 8800 DEFPROCKCL
8810 IF INKEY$(0)>"" THEN 8810 8810 IF INKEY$(0)>"" THEN 8810
8899 ENDPROC 8899 ENDPROC
8900 DEFPROCOFF 8900 DEFPROCOFF
8910 VDU23;8202;0;0;0;:ENDPROC 8910 VDU23;8202;0;0;0;:ENDPROC
8950 DEFPROCON 8950 DEFPROCON
8960 VDU23;29194;0;0;0;:ENDPROC 8960 VDU23;29194;0;0;0;:ENDPROC
9000 DEFPROCGPI(F2,ML):REM General Purpose Input Routine 9000 DEFPROCGPI(F2,ML):REM General Purpose Input Routine
9010 LOCALB,B$ 9010 LOCALB,B$
9020 A$="" 9020 A$=""
9030 PRINTSTRING$(ML," ");STRING$(ML+1,CHR$(8));CHR$(&87);:PROCON:PROCKCL 9030 PRINTSTRING$(ML," ");STRING$(ML+1,CHR$(8));CHR$(&87);:PROCON:PROCKCL
9040 B$=GET$:B=ASC(B$):IF B=13 THEN 9190 9040 B$=GET$:B=ASC(B$):IF B=13 THEN 9190
9050 IF B=127 AND A$="" THEN 9040 9050 IF B=127 AND A$="" THEN 9040
9060 IF B=127 THEN A$=LEFT$(A$,LEN(A$)-1):PRINTB$;:GOTO9040 9060 IF B=127 THEN A$=LEFT$(A$,LEN(A$)-1):PRINTB$;:GOTO9040
9070 IF LEN(A$)=ML OR B<32 OR B>126 THEN 9170 9070 IF LEN(A$)=ML OR B<32 OR B>126 THEN 9170
9080 IF F2=0 OR B=32 OR (B>=48 AND B<=57) THEN 9180 9080 IF F2=0 OR B=32 OR (B>=48 AND B<=57) THEN 9180
9170 VDU7:GOTO9040 9170 VDU7:GOTO9040
9180 PRINTB$;:A$=A$+B$:GOTO9040 9180 PRINTB$;:A$=A$+B$:GOTO9040
9190 PROCOFF 9190 PROCOFF
9199 ENDPROC 9199 ENDPROC
9200 DEFPROCYESORNO 9200 DEFPROCYESORNO
9210 LOCALB$ 9210 LOCALB$
9220 PROCGPI(0,3) 9220 PROCGPI(0,3)
9230 B$=LEFT$(A$,1) 9230 B$=LEFT$(A$,1)
9240 Y%=-1 9240 Y%=-1
9250 IF B$="Y" OR B$="y" THEN Y%=1 9250 IF B$="Y" OR B$="y" THEN Y%=1
9260 IF B$="N" OR B$="n" THEN Y%=0 9260 IF B$="N" OR B$="n" THEN Y%=0
9299 ENDPROC 9299 ENDPROC