Home » Personal collection » Acorn DFS disks » dfs_box03_disk01_utilities_disk.scp » W.BIORTHM

W.BIORTHM

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn DFS disks » dfs_box03_disk01_utilities_disk.scp
Filename: W.BIORTHM
Read OK:
File size: 191D bytes
Load address: FF1900
Exec address: FF8023
Duplicates

There are 3 duplicate copies of this file in the archive:

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

 � BIO/Biorhythms
Y � Written by David Tee and Jerry Temple-Fry (NETHERHALL SCHOOL) and Richard G Warner

 � Version 5 - October 1981
0 � For BBC Model A Microcomputer 16K Minimum
( � � �Tr@
2 � 7
< �:� � � �T`C
d �TITLEPAGE:�INIT
n � L(6),T%(6),S%(6)
x �INTRO
�
 �:�''
�, �"    To ged your individual Biorhythm"
�$ �"plot, two dates are needed."'
�, �"    First, enter your date of birth:"
�" �4,7);:� � �DADEOK(1) � �dp@
� Y1=Y:M1=M:D1=D
, �4,9);"and the date for the plot (you"
) �"will get a plot giving 10 days on"
  �"each side of this date):"
"# �4,12);:� � �DATEOK(2) � �TbA
,$ Y2=Y:M2=M:D2=D:LAPSE=�TIMELAPSE
6  � LAPSE<0 � �ERROR(9):�dH@
@" � LAPSE<10 � �ERROR(10):�dH@
J2 �0,18);"Elapsed days since birth ....";LAPSE
T �SPACE
� A%=23:B%=28:C%=33
� D%=LAPSE-!0
�! E%=100:F%=1100:I%=(F%-E%)/20
� X%=500:Y%=450:Z%=1
�
 �tDC
 ! � �<>17 � �:�" in line ";�:�
*	 Z%=2
� � "BPART2"
� ��INTRO
�	 �:�'
�* �"    Some people believe that human"
�) �"temperament and behaviour seem to"
/ �"follow predictable becurring patterns."'
- �"    These patterns, 'BIORHYTHMS', can"
, �"be broken down into three cycles: -"'
$* �"INTELLECTUAL - a cycle of 33 days,"
.. �"    affecting concentration, judgement"
8$ �"    and learning abilities."'
L* �"EMOTIONAL    - a cycle of 28 days,"
V- �"    controlling moods, creativity and"
` �"    emotional life."'
t* �"PHYSICAL     - a cycle of 23 days,"
~* �"    governing energy, coordination"
� �"    and stamina."
� �SPACE
�	 �:�'
�* �"   These cycles start at birdh and"
�) �"continue with absolute regularity"
� �"throughout life."'
. �"   Each cycle has a positive phase and"
 �"a negative phase."'
() �"   During the positive phase, the"
2* �"energy controlled by that cycle is"
<- �"being discharged. Thece are days when"
F) �"positive aspects of the cycle are"
P �"enhanced."'
x, �"   The negative phase is a period of"
�, �"recharging, when energy and vitality"
� �"are reduced."
� �SPACE
�
 �:�''
�) �"   A critical day is when a cycle"
� �"changes phase."'
�+ �"   These are days when you are more"
+ �"likely to have accidents. Care must"
  �"be taken on these days."'
@+ �"   This is especially true when two"
J' �"cycles change on the same day."'
T* �"   When all three cycles change on"
^' �"the same day, you would be well"
h �"advised to stay in bed!"
� �SPACE
� �
� ��ANALYSE
� � L,S,T
� CNT=0:I=1:�NEXTCHAR
$ � �FILLER(T$) � �NEXTCHAR:�TDP
  S=I-1:� � �DIGIT(T$) � �TlP
 L=0:T=0
"5 �:L=�(T$)-48+L*10:�NEXTCHAR:� � �DIGIT(T$):�DhP
, � � �LETTER(T$) � �DJP
6 T=1:L=0
@, �:L=L+1:�NEXTCHAR:� � �LETTER(T$):�DhP
J � T$=�(0) � �dKP
T T=2:L=1:�NEXTCHAR
h5 CNT=CNT+1:� CNT<6 � T%(CNT)=T:S%(CNT)=S:L(CNT)=L
r
 �TDP
� �
� ��NEXTCHAR
�- � I>�(D$) � T$=�(0) �  T$=�D$,I,1):I=I+1
� �
� ݤDIGIT(T$)
" � "0"<=T$ � T$<="9" � =� � =�
\ ݤLETTER(T$)
f" � "A"<=T$ � T$<="Z" � =� � =�
� ݤFILLER(T$)
�D � T$=" " � T$="." � T$="/" � T$="-" � T$="," � T$=":" � =� � =�
� ݤDATEOK(NO)
� � GET AND DEDUCE DATE
� � PUT IN D,M & Y
� �GPI(0,30):D$=""
�  � I=1 � �(A$):T=�(�A$,I,1))
� � T>96 � T<123 � T=T-32
� D$=D$+�(T):�
�% � D$="TODAY" � �ERROR(6+NO):=�  
�
 �ANALYSE
�& X=�CHECKDATE:� X>1 � �ERROR(X):=�
� =�
P ݤCHECKDATE
Z � CNT=0 � CNT>6 �=2 
d � T%(CNT)>0 � =3:� NO YEAR
n  Y=L(CNT):� Y<100 � Y=1900+Y
x � Y<1900 � Y>2000 � =3
� CNT=CNT-1:� CNT=0 � =2
� C=1:� T%(1)=1 � �TXU
� � T%(1)=2 � =4
� �GETDAY
� � C>CNT � =2
� �GETMONTH:� M=0 � =5
�
 �D|U
 �GETMONTH:� M=0 � =5
" � C>CNT � =2
, � T%(C)=1 � =6
6 �GETDAY
| � C<CNT � =2
� � D<=NDAY(M) � =1
�& � �LEAP(Y) � D=29 � M=2 � =1 � =6
D
 ��GETDAY
N  D=L(C):C=C+1:� C>CNT � �tgV
X � T%(C)<>1 � �tgV
b T$=��D$,S%(C),L(C)),2)
l3 � T$="ST" � T$="RD" � T$="ND" � T$="TH" � �t@V
v
 �tgV
�/ L(C)=L(C)-2:S%(C)=S%(C)+2:� L(C)=0 � C=C+1
� �
� ��GETMONTH
� � T%(C)>0 � �dPV
� M=L(C):� M>12 � �dxV
�
 �TBW
� M=12:M$=�D$,S%(C),L(C))
� � �(M$)<3 � �dxV
�  � �MON$(M),�(M$))=M$ � �TBW
� M=M-1:� M>0 � �ddV
� M=0:�TKW

 C=C+1
 �
p ݤTIMELAPSE
z/ � CALCULATE NUMBER OF DAYS BETWEEN 2 DATES
�# � DATES IN D1/M1/Y1 & D2/M2/Y2
� L=365*(Y2-Y1)
�) � M2>1 � � X=1 � M2-1:L=L+NDAY(X):�X
�) � M1>1 � � X=1 � M1-1:L=L-NDAY(X):�X
� L=L+D2-D1
� � ADJUST FOR LEAP YEARS
8 Y=(Y1 � 4)*4 
B Y=Y+4:� Y>=Y2 � �DjX
L � �LEAP(Y) � L=L+1
V
 �DBX
j � Y1=Y2 � �t\X
t � �LEAP(Y1) � M1<3 � L=L+1
~ � �LEAP(Y2) � M2>2 � L=L+1
� =L
�& � �LEAP(Y1) � M1<3 � M2>2 � L=L+1
� =L
d ݤLEAP(Y)
n' � RETURNS TRUE IF Y IS A LEAP YEAR
x3 � Y � 4=0 � (Y � 100<>0 � Y � 400=0) � =� � =�
X ��INIT:� INITIALISE
l � NDAY(12),MON$(12)
v � K=1 � 12:� NDAY(K):�
�* � 31,28,31,30,31,30,31,31,30,31,30,31
� � K=1 � 12:� MON$(K):�
�8 � "JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE"
�B � "JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"
� �
  ��ERROR(X)
*
 �0,16);
4< � X � �DK],�tX\,�tb\,�tl\,�tv\,�d@\,�dJ\,�dT\,�d^\,�tD\
�? �"You must be at least 10 days old"'"to get a plot.":�dh\
�$ �"Can't understand that.":�dh\
�G �"That does not contain a year in the"'"range 1900 to 2020.":�dh\
�0 �"Can't understand the day or month.":�dh\
�( �"Not sure about that month.":�dh\
�& �"Not sure about that day.":�dh\
� �"HAPPY BIRTHDAY."
�' �"But what is today's date?":�dh\
�F �"Your date of birth must be the"'"earliest date that you enter."
� �'"Try Again.":�SPACE
� � K=16 � 22
� �0,K);�40," ")
 �
K �
@ ��DBL(X$,X,Y)
J �X-1,Y);�(141);X$
T �X-1,Y+1);�(141);X$ 
� �
� ��WAIT(X)
� � Z
� Z=�
� � � �-Z>X*100
  �
  ��SPACE
 4 �3,22);"Press the SPACE BAR to continue";:�KCL
 0 � � �=" "
 k �
 l ��TITLEPAGE
 v �:�DBL("BIORHYTHMS",8,9)
 � �OFF:N%=�(500)
 � �
"`
 ��KCL
"j � �(0)>"" � �Djb
"� � 
"� ��OFF 
"� �23;8202;0;0;0;:�
"�	 ��ON
# �23;29194;0;0;0;:�
#(1 ��GPI(F2,ML):� General Purpose Input Routine
#2 �B,B$ 
#<
 A$=""
#F+ ��ML," ");�ML+1,�(8));�(&87);:�ON:�KCL
#P B$=�:B=�(B$):� B=13 � �dfc
#Z � B=127 � A$="" � �DPc
#d* � B=127 � A$=�A$,�(A$)-1):�B$;:�DPc 
#n% � �(A$)=ML � B<32 � B>126 � �dRc
#x+ � F2=0 � B=32 � (B>=48 � B<=57) � �d\c
#�
 �7:�DPc
#� �B$;:A$=A$+B$:�DPc
#�	 �OFF
#� �
#� ��YESORNO
#�	 �B$ 
$ �GPI(0,3)
$ B$=�A$,1)
$
 Y%=-1
$" � B$="Y" � B$="y" � Y%=1
$, � B$="N" � B$="n" � Y%=0
$S �
�
00000000  0d 00 0a 15 20 f4 20 42  49 4f 2f 42 69 6f 72 68  |.... . BIO/Biorh|
00000010  79 74 68 6d 73 0d 00 0c  59 20 f4 20 57 72 69 74  |ythms...Y . Writ|
00000020  74 65 6e 20 62 79 20 44  61 76 69 64 20 54 65 65  |ten by David Tee|
00000030  20 61 6e 64 20 4a 65 72  72 79 20 54 65 6d 70 6c  | and Jerry Templ|
00000040  65 2d 46 72 79 20 28 4e  45 54 48 45 52 48 41 4c  |e-Fry (NETHERHAL|
00000050  4c 20 53 43 48 4f 4f 4c  29 20 61 6e 64 20 52 69  |L SCHOOL) and Ri|
00000060  63 68 61 72 64 20 47 20  57 61 72 6e 65 72 0d 00  |chard G Warner..|
00000070  0d 1f 20 f4 20 56 65 72  73 69 6f 6e 20 35 20 2d  |.. . Version 5 -|
00000080  20 4f 63 74 6f 62 65 72  20 31 39 38 31 0d 00 0e  | October 1981...|
00000090  30 20 f4 20 46 6f 72 20  42 42 43 20 4d 6f 64 65  |0 . For BBC Mode|
000000a0  6c 20 41 20 4d 69 63 72  6f 63 6f 6d 70 75 74 65  |l A Microcompute|
000000b0  72 20 31 36 4b 20 4d 69  6e 69 6d 75 6d 0d 00 28  |r 16K Minimum..(|
000000c0  0e 20 ee 20 85 20 e5 8d  54 72 40 0d 00 32 08 20  |. . . ..Tr@..2. |
000000d0  eb 20 37 0d 00 3c 11 20  db 3a ee 20 85 20 e5 20  |. 7..<. .:. . . |
000000e0  8d 54 60 43 0d 00 64 15  20 f2 54 49 54 4c 45 50  |.T`C..d. .TITLEP|
000000f0  41 47 45 3a f2 49 4e 49  54 0d 00 6e 17 20 de 20  |AGE:.INIT..n. . |
00000100  4c 28 36 29 2c 54 25 28  36 29 2c 53 25 28 36 29  |L(6),T%(6),S%(6)|
00000110  0d 00 78 0b 20 f2 49 4e  54 52 4f 0d 00 c8 0a 20  |..x. .INTRO.... |
00000120  db 3a f1 27 27 0d 00 d2  2c 20 f1 22 20 20 20 20  |.:.''..., ."    |
00000130  54 6f 20 67 65 64 20 79  6f 75 72 20 69 6e 64 69  |To ged your indi|
00000140  76 69 64 75 61 6c 20 42  69 6f 72 68 79 74 68 6d  |vidual Biorhythm|
00000150  22 0d 00 dc 24 20 f1 22  70 6c 6f 74 2c 20 74 77  |"...$ ."plot, tw|
00000160  6f 20 64 61 74 65 73 20  61 72 65 20 6e 65 65 64  |o dates are need|
00000170  65 64 2e 22 27 0d 00 e6  2c 20 f1 22 20 20 20 20  |ed."'..., ."    |
00000180  46 69 72 73 74 2c 20 65  6e 74 65 72 20 79 6f 75  |First, enter you|
00000190  72 20 64 61 74 65 20 6f  66 20 62 69 72 74 68 3a  |r date of birth:|
000001a0  22 0d 00 f0 22 20 f1 8a  34 2c 37 29 3b 3a e7 20  |"..." ..4,7);:. |
000001b0  ac 20 a4 44 41 44 45 4f  4b 28 31 29 20 8c 20 8d  |. .DADEOK(1) . .|
000001c0  64 70 40 0d 00 fa 13 20  59 31 3d 59 3a 4d 31 3d  |dp@.... Y1=Y:M1=|
000001d0  4d 3a 44 31 3d 44 0d 01  04 2c 20 f1 8a 34 2c 39  |M:D1=D..., ..4,9|
000001e0  29 3b 22 61 6e 64 20 74  68 65 20 64 61 74 65 20  |);"and the date |
000001f0  66 6f 72 20 74 68 65 20  70 6c 6f 74 20 28 79 6f  |for the plot (yo|
00000200  75 22 0d 01 0e 29 20 f1  22 77 69 6c 6c 20 67 65  |u"...) ."will ge|
00000210  74 20 61 20 70 6c 6f 74  20 67 69 76 69 6e 67 20  |t a plot giving |
00000220  31 30 20 64 61 79 73 20  6f 6e 22 0d 01 18 20 20  |10 days on"...  |
00000230  f1 22 65 61 63 68 20 73  69 64 65 20 6f 66 20 74  |."each side of t|
00000240  68 69 73 20 64 61 74 65  29 3a 22 0d 01 22 23 20  |his date):".."# |
00000250  f1 8a 34 2c 31 32 29 3b  3a e7 20 ac 20 a4 44 41  |..4,12);:. . .DA|
00000260  54 45 4f 4b 28 32 29 20  8c 20 8d 54 62 41 0d 01  |TEOK(2) . .TbA..|
00000270  2c 24 20 59 32 3d 59 3a  4d 32 3d 4d 3a 44 32 3d  |,$ Y2=Y:M2=M:D2=|
00000280  44 3a 4c 41 50 53 45 3d  a4 54 49 4d 45 4c 41 50  |D:LAPSE=.TIMELAP|
00000290  53 45 0d 01 36 20 20 e7  20 4c 41 50 53 45 3c 30  |SE..6  . LAPSE<0|
000002a0  20 8c 20 f2 45 52 52 4f  52 28 39 29 3a e5 8d 64  | . .ERROR(9):..d|
000002b0  48 40 0d 01 40 22 20 e7  20 4c 41 50 53 45 3c 31  |H@..@" . LAPSE<1|
000002c0  30 20 8c 20 f2 45 52 52  4f 52 28 31 30 29 3a e5  |0 . .ERROR(10):.|
000002d0  8d 64 48 40 0d 01 4a 32  20 f1 8a 30 2c 31 38 29  |.dH@..J2 ..0,18)|
000002e0  3b 22 45 6c 61 70 73 65  64 20 64 61 79 73 20 73  |;"Elapsed days s|
000002f0  69 6e 63 65 20 62 69 72  74 68 20 2e 2e 2e 2e 22  |ince birth ...."|
00000300  3b 4c 41 50 53 45 0d 01  54 0b 20 f2 53 50 41 43  |;LAPSE..T. .SPAC|
00000310  45 0d 01 90 16 20 41 25  3d 32 33 3a 42 25 3d 32  |E.... A%=23:B%=2|
00000320  38 3a 43 25 3d 33 33 0d  01 9a 10 20 44 25 3d 4c  |8:C%=33.... D%=L|
00000330  41 50 53 45 2d 21 30 0d  01 a4 21 20 45 25 3d 31  |APSE-!0...! E%=1|
00000340  30 30 3a 46 25 3d 31 31  30 30 3a 49 25 3d 28 46  |00:F%=1100:I%=(F|
00000350  25 2d 45 25 29 2f 32 30  0d 01 ae 17 20 58 25 3d  |%-E%)/20.... X%=|
00000360  35 30 30 3a 59 25 3d 34  35 30 3a 5a 25 3d 31 0d  |500:Y%=450:Z%=1.|
00000370  01 ea 0a 20 e5 8d 74 44  43 0d 03 20 21 20 e7 20  |... ..tDC.. ! . |
00000380  9f 3c 3e 31 37 20 8c 20  f6 3a f1 22 20 69 6e 20  |.<>17 . .:." in |
00000390  6c 69 6e 65 20 22 3b 9e  3a e0 0d 03 2a 09 20 5a  |line ";.:...*. Z|
000003a0  25 3d 32 0d 03 84 0f 20  d7 20 22 42 50 41 52 54  |%=2.... . "BPART|
000003b0  32 22 0d 03 e8 0c 20 dd  f2 49 4e 54 52 4f 0d 03  |2".... ..INTRO..|
000003c0  ed 09 20 db 3a f1 27 0d  03 f2 2a 20 f1 22 20 20  |.. .:.'...* ."  |
000003d0  20 20 53 6f 6d 65 20 70  65 6f 70 6c 65 20 62 65  |  Some people be|
000003e0  6c 69 65 76 65 20 74 68  61 74 20 68 75 6d 61 6e  |lieve that human|
000003f0  22 0d 03 fc 29 20 f1 22  74 65 6d 70 65 72 61 6d  |"...) ."temperam|
00000400  65 6e 74 20 61 6e 64 20  62 65 68 61 76 69 6f 75  |ent and behaviou|
00000410  72 20 73 65 65 6d 20 74  6f 22 0d 04 06 2f 20 f1  |r seem to".../ .|
00000420  22 66 6f 6c 6c 6f 77 20  70 72 65 64 69 63 74 61  |"follow predicta|
00000430  62 6c 65 20 62 65 63 75  72 72 69 6e 67 20 70 61  |ble becurring pa|
00000440  74 74 65 72 6e 73 2e 22  27 0d 04 10 2d 20 f1 22  |tterns."'...- ."|
00000450  20 20 20 20 54 68 65 73  65 20 70 61 74 74 65 72  |    These patter|
00000460  6e 73 2c 20 27 42 49 4f  52 48 59 54 48 4d 53 27  |ns, 'BIORHYTHMS'|
00000470  2c 20 63 61 6e 22 0d 04  1a 2c 20 f1 22 62 65 20  |, can"..., ."be |
00000480  62 72 6f 6b 65 6e 20 64  6f 77 6e 20 69 6e 74 6f  |broken down into|
00000490  20 74 68 72 65 65 20 63  79 63 6c 65 73 3a 20 2d  | three cycles: -|
000004a0  22 27 0d 04 24 2a 20 f1  22 49 4e 54 45 4c 4c 45  |"'..$* ."INTELLE|
000004b0  43 54 55 41 4c 20 2d 20  61 20 63 79 63 6c 65 20  |CTUAL - a cycle |
000004c0  6f 66 20 33 33 20 64 61  79 73 2c 22 0d 04 2e 2e  |of 33 days,"....|
000004d0  20 f1 22 20 20 20 20 61  66 66 65 63 74 69 6e 67  | ."    affecting|
000004e0  20 63 6f 6e 63 65 6e 74  72 61 74 69 6f 6e 2c 20  | concentration, |
000004f0  6a 75 64 67 65 6d 65 6e  74 22 0d 04 38 24 20 f1  |judgement"..8$ .|
00000500  22 20 20 20 20 61 6e 64  20 6c 65 61 72 6e 69 6e  |"    and learnin|
00000510  67 20 61 62 69 6c 69 74  69 65 73 2e 22 27 0d 04  |g abilities."'..|
00000520  4c 2a 20 f1 22 45 4d 4f  54 49 4f 4e 41 4c 20 20  |L* ."EMOTIONAL  |
00000530  20 20 2d 20 61 20 63 79  63 6c 65 20 6f 66 20 32  |  - a cycle of 2|
00000540  38 20 64 61 79 73 2c 22  0d 04 56 2d 20 f1 22 20  |8 days,"..V- ." |
00000550  20 20 20 63 6f 6e 74 72  6f 6c 6c 69 6e 67 20 6d  |   controlling m|
00000560  6f 6f 64 73 2c 20 63 72  65 61 74 69 76 69 74 79  |oods, creativity|
00000570  20 61 6e 64 22 0d 04 60  1c 20 f1 22 20 20 20 20  | and"..`. ."    |
00000580  65 6d 6f 74 69 6f 6e 61  6c 20 6c 69 66 65 2e 22  |emotional life."|
00000590  27 0d 04 74 2a 20 f1 22  50 48 59 53 49 43 41 4c  |'..t* ."PHYSICAL|
000005a0  20 20 20 20 20 2d 20 61  20 63 79 63 6c 65 20 6f  |     - a cycle o|
000005b0  66 20 32 33 20 64 61 79  73 2c 22 0d 04 7e 2a 20  |f 23 days,"..~* |
000005c0  f1 22 20 20 20 20 67 6f  76 65 72 6e 69 6e 67 20  |."    governing |
000005d0  65 6e 65 72 67 79 2c 20  63 6f 6f 72 64 69 6e 61  |energy, coordina|
000005e0  74 69 6f 6e 22 0d 04 88  18 20 f1 22 20 20 20 20  |tion".... ."    |
000005f0  61 6e 64 20 73 74 61 6d  69 6e 61 2e 22 0d 04 a6  |and stamina."...|
00000600  0b 20 f2 53 50 41 43 45  0d 04 b0 09 20 db 3a f1  |. .SPACE.... .:.|
00000610  27 0d 04 ba 2a 20 f1 22  20 20 20 54 68 65 73 65  |'...* ."   These|
00000620  20 63 79 63 6c 65 73 20  73 74 61 72 74 20 61 74  | cycles start at|
00000630  20 62 69 72 64 68 20 61  6e 64 22 0d 04 c4 29 20  | birdh and"...) |
00000640  f1 22 63 6f 6e 74 69 6e  75 65 20 77 69 74 68 20  |."continue with |
00000650  61 62 73 6f 6c 75 74 65  20 72 65 67 75 6c 61 72  |absolute regular|
00000660  69 74 79 22 0d 04 ce 19  20 f1 22 74 68 72 6f 75  |ity".... ."throu|
00000670  67 68 6f 75 74 20 6c 69  66 65 2e 22 27 0d 05 14  |ghout life."'...|
00000680  2e 20 f1 22 20 20 20 45  61 63 68 20 63 79 63 6c  |. ."   Each cycl|
00000690  65 20 68 61 73 20 61 20  70 6f 73 69 74 69 76 65  |e has a positive|
000006a0  20 70 68 61 73 65 20 61  6e 64 22 0d 05 1e 1a 20  | phase and".... |
000006b0  f1 22 61 20 6e 65 67 61  74 69 76 65 20 70 68 61  |."a negative pha|
000006c0  73 65 2e 22 27 0d 05 28  29 20 f1 22 20 20 20 44  |se."'..() ."   D|
000006d0  75 72 69 6e 67 20 74 68  65 20 70 6f 73 69 74 69  |uring the positi|
000006e0  76 65 20 70 68 61 73 65  2c 20 74 68 65 22 0d 05  |ve phase, the"..|
000006f0  32 2a 20 f1 22 65 6e 65  72 67 79 20 63 6f 6e 74  |2* ."energy cont|
00000700  72 6f 6c 6c 65 64 20 62  79 20 74 68 61 74 20 63  |rolled by that c|
00000710  79 63 6c 65 20 69 73 22  0d 05 3c 2d 20 f1 22 62  |ycle is"..<- ."b|
00000720  65 69 6e 67 20 64 69 73  63 68 61 72 67 65 64 2e  |eing discharged.|
00000730  20 54 68 65 63 65 20 61  72 65 20 64 61 79 73 20  | Thece are days |
00000740  77 68 65 6e 22 0d 05 46  29 20 f1 22 70 6f 73 69  |when"..F) ."posi|
00000750  74 69 76 65 20 61 73 70  65 63 74 73 20 6f 66 20  |tive aspects of |
00000760  74 68 65 20 63 79 63 6c  65 20 61 72 65 22 0d 05  |the cycle are"..|
00000770  50 12 20 f1 22 65 6e 68  61 6e 63 65 64 2e 22 27  |P. ."enhanced."'|
00000780  0d 05 78 2c 20 f1 22 20  20 20 54 68 65 20 6e 65  |..x, ."   The ne|
00000790  67 61 74 69 76 65 20 70  68 61 73 65 20 69 73 20  |gative phase is |
000007a0  61 20 70 65 72 69 6f 64  20 6f 66 22 0d 05 82 2c  |a period of"...,|
000007b0  20 f1 22 72 65 63 68 61  72 67 69 6e 67 2c 20 77  | ."recharging, w|
000007c0  68 65 6e 20 65 6e 65 72  67 79 20 61 6e 64 20 76  |hen energy and v|
000007d0  69 74 61 6c 69 74 79 22  0d 05 8c 14 20 f1 22 61  |itality".... ."a|
000007e0  72 65 20 72 65 64 75 63  65 64 2e 22 0d 05 d2 0b  |re reduced."....|
000007f0  20 f2 53 50 41 43 45 0d  05 dc 0a 20 db 3a f1 27  | .SPACE.... .:.'|
00000800  27 0d 05 e6 29 20 f1 22  20 20 20 41 20 63 72 69  |'...) ."   A cri|
00000810  74 69 63 61 6c 20 64 61  79 20 69 73 20 77 68 65  |tical day is whe|
00000820  6e 20 61 20 63 79 63 6c  65 22 0d 05 f0 17 20 f1  |n a cycle".... .|
00000830  22 63 68 61 6e 67 65 73  20 70 68 61 73 65 2e 22  |"changes phase."|
00000840  27 0d 05 fa 2b 20 f1 22  20 20 20 54 68 65 73 65  |'...+ ."   These|
00000850  20 61 72 65 20 64 61 79  73 20 77 68 65 6e 20 79  | are days when y|
00000860  6f 75 20 61 72 65 20 6d  6f 72 65 22 0d 06 04 2b  |ou are more"...+|
00000870  20 f1 22 6c 69 6b 65 6c  79 20 74 6f 20 68 61 76  | ."likely to hav|
00000880  65 20 61 63 63 69 64 65  6e 74 73 2e 20 43 61 72  |e accidents. Car|
00000890  65 20 6d 75 73 74 22 0d  06 0e 20 20 f1 22 62 65  |e must"...  ."be|
000008a0  20 74 61 6b 65 6e 20 6f  6e 20 74 68 65 73 65 20  | taken on these |
000008b0  64 61 79 73 2e 22 27 0d  06 40 2b 20 f1 22 20 20  |days."'..@+ ."  |
000008c0  20 54 68 69 73 20 69 73  20 65 73 70 65 63 69 61  | This is especia|
000008d0  6c 6c 79 20 74 72 75 65  20 77 68 65 6e 20 74 77  |lly true when tw|
000008e0  6f 22 0d 06 4a 27 20 f1  22 63 79 63 6c 65 73 20  |o"..J' ."cycles |
000008f0  63 68 61 6e 67 65 20 6f  6e 20 74 68 65 20 73 61  |change on the sa|
00000900  6d 65 20 64 61 79 2e 22  27 0d 06 54 2a 20 f1 22  |me day."'..T* ."|
00000910  20 20 20 57 68 65 6e 20  61 6c 6c 20 74 68 72 65  |   When all thre|
00000920  65 20 63 79 63 6c 65 73  20 63 68 61 6e 67 65 20  |e cycles change |
00000930  6f 6e 22 0d 06 5e 27 20  f1 22 74 68 65 20 73 61  |on"..^' ."the sa|
00000940  6d 65 20 64 61 79 2c 20  79 6f 75 20 77 6f 75 6c  |me day, you woul|
00000950  64 20 62 65 20 77 65 6c  6c 22 0d 06 68 1f 20 f1  |d be well"..h. .|
00000960  22 61 64 76 69 73 65 64  20 74 6f 20 73 74 61 79  |"advised to stay|
00000970  20 69 6e 20 62 65 64 21  22 0d 06 9a 0b 20 f2 53  | in bed!".... .S|
00000980  50 41 43 45 0d 06 a3 06  20 e1 0d 0f a0 0e 20 dd  |PACE.... ..... .|
00000990  f2 41 4e 41 4c 59 53 45  0d 0f aa 0c 20 ea 20 4c  |.ANALYSE.... . L|
000009a0  2c 53 2c 54 0d 0f b4 18  20 43 4e 54 3d 30 3a 49  |,S,T.... CNT=0:I|
000009b0  3d 31 3a f2 4e 45 58 54  43 48 41 52 0d 10 04 24  |=1:.NEXTCHAR...$|
000009c0  20 e7 20 a4 46 49 4c 4c  45 52 28 54 24 29 20 8c  | . .FILLER(T$) .|
000009d0  20 f2 4e 45 58 54 43 48  41 52 3a e5 8d 54 44 50  | .NEXTCHAR:..TDP|
000009e0  0d 10 0e 20 20 53 3d 49  2d 31 3a e7 20 ac 20 a4  |...  S=I-1:. . .|
000009f0  44 49 47 49 54 28 54 24  29 20 8c 20 8d 54 6c 50  |DIGIT(T$) . .TlP|
00000a00  0d 10 18 0c 20 4c 3d 30  3a 54 3d 30 0d 10 22 35  |.... L=0:T=0.."5|
00000a10  20 f5 3a 4c 3d 97 28 54  24 29 2d 34 38 2b 4c 2a  | .:L=.(T$)-48+L*|
00000a20  31 30 3a f2 4e 45 58 54  43 48 41 52 3a fd 20 ac  |10:.NEXTCHAR:. .|
00000a30  20 a4 44 49 47 49 54 28  54 24 29 3a e5 8d 44 68  | .DIGIT(T$):..Dh|
00000a40  50 0d 10 2c 1b 20 e7 20  ac 20 a4 4c 45 54 54 45  |P..,. . . .LETTE|
00000a50  52 28 54 24 29 20 8c 20  8d 44 4a 50 0d 10 36 0c  |R(T$) . .DJP..6.|
00000a60  20 54 3d 31 3a 4c 3d 30  0d 10 40 2c 20 f5 3a 4c  | T=1:L=0..@, .:L|
00000a70  3d 4c 2b 31 3a f2 4e 45  58 54 43 48 41 52 3a fd  |=L+1:.NEXTCHAR:.|
00000a80  20 ac 20 a4 4c 45 54 54  45 52 28 54 24 29 3a e5  | . .LETTER(T$):.|
00000a90  8d 44 68 50 0d 10 4a 15  20 e7 20 54 24 3d bd 28  |.DhP..J. . T$=.(|
00000aa0  30 29 20 8c 20 8d 64 4b  50 0d 10 54 16 20 54 3d  |0) . .dKP..T. T=|
00000ab0  32 3a 4c 3d 31 3a f2 4e  45 58 54 43 48 41 52 0d  |2:L=1:.NEXTCHAR.|
00000ac0  10 68 35 20 43 4e 54 3d  43 4e 54 2b 31 3a e7 20  |.h5 CNT=CNT+1:. |
00000ad0  43 4e 54 3c 36 20 8c 20  54 25 28 43 4e 54 29 3d  |CNT<6 . T%(CNT)=|
00000ae0  54 3a 53 25 28 43 4e 54  29 3d 53 3a 4c 28 43 4e  |T:S%(CNT)=S:L(CN|
00000af0  54 29 3d 4c 0d 10 72 0a  20 e5 8d 54 44 50 0d 10  |T)=L..r. ..TDP..|
00000b00  cb 06 20 e1 0d 11 94 0f  20 dd f2 4e 45 58 54 43  |.. ..... ..NEXTC|
00000b10  48 41 52 0d 11 9e 2d 20  e7 20 49 3e a9 28 44 24  |HAR...- . I>.(D$|
00000b20  29 20 8c 20 54 24 3d bd  28 30 29 20 8b 20 20 54  |) . T$=.(0) .  T|
00000b30  24 3d c1 44 24 2c 49 2c  31 29 3a 49 3d 49 2b 31  |$=.D$,I,1):I=I+1|
00000b40  0d 11 f7 06 20 e1 0d 11  f8 10 20 dd a4 44 49 47  |.... ..... ..DIG|
00000b50  49 54 28 54 24 29 0d 12  02 22 20 e7 20 22 30 22  |IT(T$)..." . "0"|
00000b60  3c 3d 54 24 20 80 20 54  24 3c 3d 22 39 22 20 8c  |<=T$ . T$<="9" .|
00000b70  20 3d b9 20 8b 20 3d a3  0d 12 5c 11 20 dd a4 4c  | =. . =...\. ..L|
00000b80  45 54 54 45 52 28 54 24  29 0d 12 66 22 20 e7 20  |ETTER(T$)..f" . |
00000b90  22 41 22 3c 3d 54 24 20  80 20 54 24 3c 3d 22 5a  |"A"<=T$ . T$<="Z|
00000ba0  22 20 8c 20 3d b9 20 8b  20 3d a3 0d 12 c0 11 20  |" . =. . =..... |
00000bb0  dd a4 46 49 4c 4c 45 52  28 54 24 29 0d 12 ca 44  |..FILLER(T$)...D|
00000bc0  20 e7 20 54 24 3d 22 20  22 20 84 20 54 24 3d 22  | . T$=" " . T$="|
00000bd0  2e 22 20 84 20 54 24 3d  22 2f 22 20 84 20 54 24  |." . T$="/" . T$|
00000be0  3d 22 2d 22 20 84 20 54  24 3d 22 2c 22 20 84 20  |="-" . T$="," . |
00000bf0  54 24 3d 22 3a 22 20 8c  20 3d b9 20 8b 20 3d a3  |T$=":" . =. . =.|
00000c00  0d 13 88 11 20 dd a4 44  41 54 45 4f 4b 28 4e 4f  |.... ..DATEOK(NO|
00000c10  29 0d 13 92 1a 20 f4 20  47 45 54 20 41 4e 44 20  |).... . GET AND |
00000c20  44 45 44 55 43 45 20 44  41 54 45 0d 13 9c 15 20  |DEDUCE DATE.... |
00000c30  f4 20 50 55 54 20 49 4e  20 44 2c 4d 20 26 20 59  |. PUT IN D,M & Y|
00000c40  0d 13 a6 15 20 f2 47 50  49 28 30 2c 33 30 29 3a  |.... .GPI(0,30):|
00000c50  44 24 3d 22 22 0d 13 b0  20 20 e3 20 49 3d 31 20  |D$=""...  . I=1 |
00000c60  b8 20 a9 28 41 24 29 3a  54 3d 97 28 c1 41 24 2c  |. .(A$):T=.(.A$,|
00000c70  49 2c 31 29 29 0d 13 ba  1c 20 e7 20 54 3e 39 36  |I,1)).... . T>96|
00000c80  20 80 20 54 3c 31 32 33  20 8c 20 54 3d 54 2d 33  | . T<123 . T=T-3|
00000c90  32 0d 13 bf 11 20 44 24  3d 44 24 2b bd 28 54 29  |2.... D$=D$+.(T)|
00000ca0  3a ed 0d 13 c4 25 20 e7  20 44 24 3d 22 54 4f 44  |:....% . D$="TOD|
00000cb0  41 59 22 20 8c 20 f2 45  52 52 4f 52 28 36 2b 4e  |AY" . .ERROR(6+N|
00000cc0  4f 29 3a 3d a3 20 20 0d  13 ce 0d 20 f2 41 4e 41  |O):=.  .... .ANA|
00000cd0  4c 59 53 45 0d 13 d8 26  20 58 3d a4 43 48 45 43  |LYSE...& X=.CHEC|
00000ce0  4b 44 41 54 45 3a e7 20  58 3e 31 20 8c 20 f2 45  |KDATE:. X>1 . .E|
00000cf0  52 52 4f 52 28 58 29 3a  3d a3 0d 13 e2 07 20 3d  |RROR(X):=..... =|
00000d00  b9 0d 14 50 10 20 dd a4  43 48 45 43 4b 44 41 54  |...P. ..CHECKDAT|
00000d10  45 0d 14 5a 19 20 e7 20  43 4e 54 3d 30 20 84 20  |E..Z. . CNT=0 . |
00000d20  43 4e 54 3e 36 20 8c 3d  32 20 0d 14 64 1f 20 e7  |CNT>6 .=2 ..d. .|
00000d30  20 54 25 28 43 4e 54 29  3e 30 20 8c 20 3d 33 3a  | T%(CNT)>0 . =3:|
00000d40  f4 20 4e 4f 20 59 45 41  52 0d 14 6e 20 20 59 3d  |. NO YEAR..n  Y=|
00000d50  4c 28 43 4e 54 29 3a e7  20 59 3c 31 30 30 20 8c  |L(CNT):. Y<100 .|
00000d60  20 59 3d 31 39 30 30 2b  59 0d 14 78 1b 20 e7 20  | Y=1900+Y..x. . |
00000d70  59 3c 31 39 30 30 20 84  20 59 3e 32 30 30 30 20  |Y<1900 . Y>2000 |
00000d80  8c 20 3d 33 0d 14 82 1b  20 43 4e 54 3d 43 4e 54  |. =3.... CNT=CNT|
00000d90  2d 31 3a e7 20 43 4e 54  3d 30 20 8c 20 3d 32 0d  |-1:. CNT=0 . =2.|
00000da0  14 b4 19 20 43 3d 31 3a  e7 20 54 25 28 31 29 3d  |... C=1:. T%(1)=|
00000db0  31 20 8c 20 8d 54 58 55  0d 14 be 13 20 e7 20 54  |1 . .TXU.... . T|
00000dc0  25 28 31 29 3d 32 20 8c  20 3d 34 0d 14 c8 0c 20  |%(1)=2 . =4.... |
00000dd0  f2 47 45 54 44 41 59 0d  14 d2 11 20 e7 20 43 3e  |.GETDAY.... . C>|
00000de0  43 4e 54 20 8c 20 3d 32  0d 14 dc 19 20 f2 47 45  |CNT . =2.... .GE|
00000df0  54 4d 4f 4e 54 48 3a e7  20 4d 3d 30 20 8c 20 3d  |TMONTH:. M=0 . =|
00000e00  35 0d 14 e6 0a 20 e5 8d  44 7c 55 0d 15 18 19 20  |5.... ..D|U.... |
00000e10  f2 47 45 54 4d 4f 4e 54  48 3a e7 20 4d 3d 30 20  |.GETMONTH:. M=0 |
00000e20  8c 20 3d 35 0d 15 22 11  20 e7 20 43 3e 43 4e 54  |. =5..". . C>CNT|
00000e30  20 8c 20 3d 32 0d 15 2c  13 20 e7 20 54 25 28 43  | . =2..,. . T%(C|
00000e40  29 3d 31 20 8c 20 3d 36  0d 15 36 0c 20 f2 47 45  |)=1 . =6..6. .GE|
00000e50  54 44 41 59 0d 15 7c 11  20 e7 20 43 3c 43 4e 54  |TDAY..|. . C<CNT|
00000e60  20 8c 20 3d 32 0d 15 86  16 20 e7 20 44 3c 3d 4e  | . =2.... . D<=N|
00000e70  44 41 59 28 4d 29 20 8c  20 3d 31 0d 15 90 26 20  |DAY(M) . =1...& |
00000e80  e7 20 a4 4c 45 41 50 28  59 29 20 80 20 44 3d 32  |. .LEAP(Y) . D=2|
00000e90  39 20 80 20 4d 3d 32 20  8c 20 3d 31 20 8b 20 3d  |9 . M=2 . =1 . =|
00000ea0  36 0d 16 44 0d 20 dd f2  47 45 54 44 41 59 0d 16  |6..D. ..GETDAY..|
00000eb0  4e 20 20 44 3d 4c 28 43  29 3a 43 3d 43 2b 31 3a  |N  D=L(C):C=C+1:|
00000ec0  e7 20 43 3e 43 4e 54 20  8c 20 8d 74 67 56 0d 16  |. C>CNT . .tgV..|
00000ed0  58 16 20 e7 20 54 25 28  43 29 3c 3e 31 20 8c 20  |X. . T%(C)<>1 . |
00000ee0  8d 74 67 56 0d 16 62 1b  20 54 24 3d c0 c1 44 24  |.tgV..b. T$=..D$|
00000ef0  2c 53 25 28 43 29 2c 4c  28 43 29 29 2c 32 29 0d  |,S%(C),L(C)),2).|
00000f00  16 6c 33 20 e7 20 54 24  3d 22 53 54 22 20 84 20  |.l3 . T$="ST" . |
00000f10  54 24 3d 22 52 44 22 20  84 20 54 24 3d 22 4e 44  |T$="RD" . T$="ND|
00000f20  22 20 84 20 54 24 3d 22  54 48 22 20 8c 20 8d 74  |" . T$="TH" . .t|
00000f30  40 56 0d 16 76 0a 20 e5  8d 74 67 56 0d 16 80 2f  |@V..v. ..tgV.../|
00000f40  20 4c 28 43 29 3d 4c 28  43 29 2d 32 3a 53 25 28  | L(C)=L(C)-2:S%(|
00000f50  43 29 3d 53 25 28 43 29  2b 32 3a e7 20 4c 28 43  |C)=S%(C)+2:. L(C|
00000f60  29 3d 30 20 8c 20 43 3d  43 2b 31 0d 16 a7 06 20  |)=0 . C=C+1.... |
00000f70  e1 0d 16 a8 0f 20 dd f2  47 45 54 4d 4f 4e 54 48  |..... ..GETMONTH|
00000f80  0d 16 b2 15 20 e7 20 54  25 28 43 29 3e 30 20 8c  |.... . T%(C)>0 .|
00000f90  20 8d 64 50 56 0d 16 bc  19 20 4d 3d 4c 28 43 29  | .dPV.... M=L(C)|
00000fa0  3a e7 20 4d 3e 31 32 20  8c 20 8d 64 78 56 0d 16  |:. M>12 . .dxV..|
00000fb0  c6 0a 20 e5 8d 54 42 57  0d 16 d0 1c 20 4d 3d 31  |.. ..TBW.... M=1|
00000fc0  32 3a 4d 24 3d c1 44 24  2c 53 25 28 43 29 2c 4c  |2:M$=.D$,S%(C),L|
00000fd0  28 43 29 29 0d 16 da 15  20 e7 20 a9 28 4d 24 29  |(C)).... . .(M$)|
00000fe0  3c 33 20 8c 20 8d 64 78  56 0d 16 e4 20 20 e7 20  |<3 . .dxV...  . |
00000ff0  c0 4d 4f 4e 24 28 4d 29  2c a9 28 4d 24 29 29 3d  |.MON$(M),.(M$))=|
00001000  4d 24 20 8c 20 8d 54 42  57 0d 16 ee 17 20 4d 3d  |M$ . .TBW.... M=|
00001010  4d 2d 31 3a e7 20 4d 3e  30 20 8c 20 8d 64 64 56  |M-1:. M>0 . .ddV|
00001020  0d 16 f8 0e 20 4d 3d 30  3a e5 8d 54 4b 57 0d 17  |.... M=0:..TKW..|
00001030  02 0a 20 43 3d 43 2b 31  0d 17 0b 06 20 e1 0d 17  |.. C=C+1.... ...|
00001040  70 10 20 dd a4 54 49 4d  45 4c 41 50 53 45 0d 17  |p. ..TIMELAPSE..|
00001050  7a 2f 20 f4 20 43 41 4c  43 55 4c 41 54 45 20 4e  |z/ . CALCULATE N|
00001060  55 4d 42 45 52 20 4f 46  20 44 41 59 53 20 42 45  |UMBER OF DAYS BE|
00001070  54 57 45 45 4e 20 32 20  44 41 54 45 53 0d 17 84  |TWEEN 2 DATES...|
00001080  23 20 f4 20 44 41 54 45  53 20 49 4e 20 44 31 2f  |# . DATES IN D1/|
00001090  4d 31 2f 59 31 20 26 20  44 32 2f 4d 32 2f 59 32  |M1/Y1 & D2/M2/Y2|
000010a0  0d 17 d4 12 20 4c 3d 33  36 35 2a 28 59 32 2d 59  |.... L=365*(Y2-Y|
000010b0  31 29 0d 17 de 29 20 e7  20 4d 32 3e 31 20 8c 20  |1)...) . M2>1 . |
000010c0  e3 20 58 3d 31 20 b8 20  4d 32 2d 31 3a 4c 3d 4c  |. X=1 . M2-1:L=L|
000010d0  2b 4e 44 41 59 28 58 29  3a ed 58 0d 17 e8 29 20  |+NDAY(X):.X...) |
000010e0  e7 20 4d 31 3e 31 20 8c  20 e3 20 58 3d 31 20 b8  |. M1>1 . . X=1 .|
000010f0  20 4d 31 2d 31 3a 4c 3d  4c 2d 4e 44 41 59 28 58  | M1-1:L=L-NDAY(X|
00001100  29 3a ed 58 0d 17 f2 0e  20 4c 3d 4c 2b 44 32 2d  |):.X.... L=L+D2-|
00001110  44 31 0d 17 fc 1c 20 f4  20 41 44 4a 55 53 54 20  |D1.... . ADJUST |
00001120  46 4f 52 20 4c 45 41 50  20 59 45 41 52 53 0d 18  |FOR LEAP YEARS..|
00001130  38 12 20 59 3d 28 59 31  20 81 20 34 29 2a 34 20  |8. Y=(Y1 . 4)*4 |
00001140  0d 18 42 19 20 59 3d 59  2b 34 3a e7 20 59 3e 3d  |..B. Y=Y+4:. Y>=|
00001150  59 32 20 8c 20 8d 44 6a  58 0d 18 4c 17 20 e7 20  |Y2 . .DjX..L. . |
00001160  a4 4c 45 41 50 28 59 29  20 8c 20 4c 3d 4c 2b 31  |.LEAP(Y) . L=L+1|
00001170  0d 18 56 0a 20 e5 8d 44  42 58 0d 18 6a 13 20 e7  |..V. ..DBX..j. .|
00001180  20 59 31 3d 59 32 20 8c  20 8d 74 5c 58 0d 18 74  | Y1=Y2 . .t\X..t|
00001190  1f 20 e7 20 a4 4c 45 41  50 28 59 31 29 20 80 20  |. . .LEAP(Y1) . |
000011a0  4d 31 3c 33 20 8c 20 4c  3d 4c 2b 31 0d 18 7e 1f  |M1<3 . L=L+1..~.|
000011b0  20 e7 20 a4 4c 45 41 50  28 59 32 29 20 80 20 4d  | . .LEAP(Y2) . M|
000011c0  32 3e 32 20 8c 20 4c 3d  4c 2b 31 0d 18 88 07 20  |2>2 . L=L+1.... |
000011d0  3d 4c 0d 18 9c 26 20 e7  20 a4 4c 45 41 50 28 59  |=L...& . .LEAP(Y|
000011e0  31 29 20 80 20 4d 31 3c  33 20 80 20 4d 32 3e 32  |1) . M1<3 . M2>2|
000011f0  20 8c 20 4c 3d 4c 2b 31  0d 18 a6 07 20 3d 4c 0d  | . L=L+1.... =L.|
00001200  19 64 0e 20 dd a4 4c 45  41 50 28 59 29 0d 19 6e  |.d. ..LEAP(Y)..n|
00001210  27 20 f4 20 52 45 54 55  52 4e 53 20 54 52 55 45  |' . RETURNS TRUE|
00001220  20 49 46 20 59 20 49 53  20 41 20 4c 45 41 50 20  | IF Y IS A LEAP |
00001230  59 45 41 52 0d 19 78 33  20 e7 20 59 20 83 20 34  |YEAR..x3 . Y . 4|
00001240  3d 30 20 80 20 28 59 20  83 20 31 30 30 3c 3e 30  |=0 . (Y . 100<>0|
00001250  20 84 20 59 20 83 20 34  30 30 3d 30 29 20 8c 20  | . Y . 400=0) . |
00001260  3d b9 20 8b 20 3d a3 0d  1b 58 18 20 dd f2 49 4e  |=. . =...X. ..IN|
00001270  49 54 3a f4 20 49 4e 49  54 49 41 4c 49 53 45 0d  |IT:. INITIALISE.|
00001280  1b 6c 18 20 de 20 4e 44  41 59 28 31 32 29 2c 4d  |.l. . NDAY(12),M|
00001290  4f 4e 24 28 31 32 29 0d  1b 76 1b 20 e3 20 4b 3d  |ON$(12)..v. . K=|
000012a0  31 20 b8 20 31 32 3a f3  20 4e 44 41 59 28 4b 29  |1 . 12:. NDAY(K)|
000012b0  3a ed 0d 1b 80 2a 20 dc  20 33 31 2c 32 38 2c 33  |:....* . 31,28,3|
000012c0  31 2c 33 30 2c 33 31 2c  33 30 2c 33 31 2c 33 31  |1,30,31,30,31,31|
000012d0  2c 33 30 2c 33 31 2c 33  30 2c 33 31 0d 1b 8a 1b  |,30,31,30,31....|
000012e0  20 e3 20 4b 3d 31 20 b8  20 31 32 3a f3 20 4d 4f  | . K=1 . 12:. MO|
000012f0  4e 24 28 4b 29 3a ed 0d  1b 94 38 20 dc 20 22 4a  |N$(K):....8 . "J|
00001300  41 4e 55 41 52 59 22 2c  22 46 45 42 52 55 41 52  |ANUARY","FEBRUAR|
00001310  59 22 2c 22 4d 41 52 43  48 22 2c 22 41 50 52 49  |Y","MARCH","APRI|
00001320  4c 22 2c 22 4d 41 59 22  2c 22 4a 55 4e 45 22 0d  |L","MAY","JUNE".|
00001330  1b 9e 42 20 dc 20 22 4a  55 4c 59 22 2c 22 41 55  |..B . "JULY","AU|
00001340  47 55 53 54 22 2c 22 53  45 50 54 45 4d 42 45 52  |GUST","SEPTEMBER|
00001350  22 2c 22 4f 43 54 4f 42  45 52 22 2c 22 4e 4f 56  |","OCTOBER","NOV|
00001360  45 4d 42 45 52 22 2c 22  44 45 43 45 4d 42 45 52  |EMBER","DECEMBER|
00001370  22 0d 1b bb 06 20 e1 0d  1c 20 0f 20 dd f2 45 52  |".... ... . ..ER|
00001380  52 4f 52 28 58 29 0d 1c  2a 0d 20 f1 8a 30 2c 31  |ROR(X)..*. ..0,1|
00001390  36 29 3b 0d 1c 34 3c 20  ee 20 58 20 e5 20 8d 44  |6);..4< . X . .D|
000013a0  4b 5d 2c 8d 74 58 5c 2c  8d 74 62 5c 2c 8d 74 6c  |K],.tX\,.tb\,.tl|
000013b0  5c 2c 8d 74 76 5c 2c 8d  64 40 5c 2c 8d 64 4a 5c  |\,.tv\,.d@\,.dJ\|
000013c0  2c 8d 64 54 5c 2c 8d 64  5e 5c 2c 8d 74 44 5c 0d  |,.dT\,.d^\,.tD\.|
000013d0  1c 84 3f 20 f1 22 59 6f  75 20 6d 75 73 74 20 62  |..? ."You must b|
000013e0  65 20 61 74 20 6c 65 61  73 74 20 31 30 20 64 61  |e at least 10 da|
000013f0  79 73 20 6f 6c 64 22 27  22 74 6f 20 67 65 74 20  |ys old"'"to get |
00001400  61 20 70 6c 6f 74 2e 22  3a e5 8d 64 68 5c 0d 1c  |a plot.":..dh\..|
00001410  98 24 20 f1 22 43 61 6e  27 74 20 75 6e 64 65 72  |.$ ."Can't under|
00001420  73 74 61 6e 64 20 74 68  61 74 2e 22 3a e5 8d 64  |stand that.":..d|
00001430  68 5c 0d 1c a2 47 20 f1  22 54 68 61 74 20 64 6f  |h\...G ."That do|
00001440  65 73 20 6e 6f 74 20 63  6f 6e 74 61 69 6e 20 61  |es not contain a|
00001450  20 79 65 61 72 20 69 6e  20 74 68 65 22 27 22 72  | year in the"'"r|
00001460  61 6e 67 65 20 31 39 30  30 20 74 6f 20 32 30 32  |ange 1900 to 202|
00001470  30 2e 22 3a e5 8d 64 68  5c 0d 1c ac 30 20 f1 22  |0.":..dh\...0 ."|
00001480  43 61 6e 27 74 20 75 6e  64 65 72 73 74 61 6e 64  |Can't understand|
00001490  20 74 68 65 20 64 61 79  20 6f 72 20 6d 6f 6e 74  | the day or mont|
000014a0  68 2e 22 3a e5 8d 64 68  5c 0d 1c b6 28 20 f1 22  |h.":..dh\...( ."|
000014b0  4e 6f 74 20 73 75 72 65  20 61 62 6f 75 74 20 74  |Not sure about t|
000014c0  68 61 74 20 6d 6f 6e 74  68 2e 22 3a e5 8d 64 68  |hat month.":..dh|
000014d0  5c 0d 1c c0 26 20 f1 22  4e 6f 74 20 73 75 72 65  |\...& ."Not sure|
000014e0  20 61 62 6f 75 74 20 74  68 61 74 20 64 61 79 2e  | about that day.|
000014f0  22 3a e5 8d 64 68 5c 0d  1c ca 17 20 f1 22 48 41  |":..dh\.... ."HA|
00001500  50 50 59 20 42 49 52 54  48 44 41 59 2e 22 0d 1c  |PPY BIRTHDAY."..|
00001510  d4 27 20 f1 22 42 75 74  20 77 68 61 74 20 69 73  |.' ."But what is|
00001520  20 74 6f 64 61 79 27 73  20 64 61 74 65 3f 22 3a  | today's date?":|
00001530  e5 8d 64 68 5c 0d 1c de  46 20 f1 22 59 6f 75 72  |..dh\...F ."Your|
00001540  20 64 61 74 65 20 6f 66  20 62 69 72 74 68 20 6d  | date of birth m|
00001550  75 73 74 20 62 65 20 74  68 65 22 27 22 65 61 72  |ust be the"'"ear|
00001560  6c 69 65 73 74 20 64 61  74 65 20 74 68 61 74 20  |liest date that |
00001570  79 6f 75 20 65 6e 74 65  72 2e 22 0d 1c e8 1a 20  |you enter.".... |
00001580  f1 27 22 54 72 79 20 41  67 61 69 6e 2e 22 3a f2  |.'"Try Again.":.|
00001590  53 50 41 43 45 0d 1c f2  10 20 e3 20 4b 3d 31 36  |SPACE.... . K=16|
000015a0  20 b8 20 32 32 0d 1c fc  14 20 f1 8a 30 2c 4b 29  | . 22.... ..0,K)|
000015b0  3b c4 34 30 2c 22 20 22  29 0d 1d 06 06 20 ed 0d  |;.40," ").... ..|
000015c0  1d 4b 06 20 e1 0d 1f 40  12 20 dd f2 44 42 4c 28  |.K. ...@. ..DBL(|
000015d0  58 24 2c 58 2c 59 29 0d  1f 4a 17 20 f1 8a 58 2d  |X$,X,Y)..J. ..X-|
000015e0  31 2c 59 29 3b bd 28 31  34 31 29 3b 58 24 0d 1f  |1,Y);.(141);X$..|
000015f0  54 1a 20 f1 8a 58 2d 31  2c 59 2b 31 29 3b bd 28  |T. ..X-1,Y+1);.(|
00001600  31 34 31 29 3b 58 24 20  0d 1f a3 06 20 e1 0d 1f  |141);X$ .... ...|
00001610  a4 0e 20 dd f2 57 41 49  54 28 58 29 0d 1f ae 08  |.. ..WAIT(X)....|
00001620  20 ea 20 5a 0d 1f b8 08  20 5a 3d 91 0d 1f c2 12  | . Z.... Z=.....|
00001630  20 f5 20 fd 20 91 2d 5a  3e 58 2a 31 30 30 0d 20  | . . .-Z>X*100. |
00001640  07 06 20 e1 0d 20 08 0c  20 dd f2 53 50 41 43 45  |.. .. .. ..SPACE|
00001650  0d 20 1c 34 20 f1 8a 33  2c 32 32 29 3b 22 50 72  |. .4 ..3,22);"Pr|
00001660  65 73 73 20 74 68 65 20  53 50 41 43 45 20 42 41  |ess the SPACE BA|
00001670  52 20 74 6f 20 63 6f 6e  74 69 6e 75 65 22 3b 3a  |R to continue";:|
00001680  f2 4b 43 4c 0d 20 30 0e  20 f5 20 fd 20 be 3d 22  |.KCL. 0. . . .="|
00001690  20 22 0d 20 6b 06 20 e1  0d 20 6c 10 20 dd f2 54  | ". k. .. l. ..T|
000016a0  49 54 4c 45 50 41 47 45  0d 20 76 1d 20 db 3a f2  |ITLEPAGE. v. .:.|
000016b0  44 42 4c 28 22 42 49 4f  52 48 59 54 48 4d 53 22  |DBL("BIORHYTHMS"|
000016c0  2c 38 2c 39 29 0d 20 80  13 20 f2 4f 46 46 3a 4e  |,8,9). .. .OFF:N|
000016d0  25 3d a6 28 35 30 30 29  0d 20 cf 06 20 e1 0d 22  |%=.(500). .. .."|
000016e0  60 0a 20 dd f2 4b 43 4c  0d 22 6a 15 20 e7 20 bf  |`. ..KCL."j. . .|
000016f0  28 30 29 3e 22 22 20 8c  20 8d 44 6a 62 0d 22 c3  |(0)>"" . .Djb.".|
00001700  07 20 e1 20 0d 22 c4 0b  20 dd f2 4f 46 46 20 0d  |. . .".. ..OFF .|
00001710  22 ce 16 20 ef 32 33 3b  38 32 30 32 3b 30 3b 30  |".. .23;8202;0;0|
00001720  3b 30 3b 3a e1 0d 22 f6  09 20 dd f2 4f 4e 0d 23  |;0;:..".. ..ON.#|
00001730  00 17 20 ef 32 33 3b 32  39 31 39 34 3b 30 3b 30  |.. .23;29194;0;0|
00001740  3b 30 3b 3a e1 0d 23 28  31 20 dd f2 47 50 49 28  |;0;:..#(1 ..GPI(|
00001750  46 32 2c 4d 4c 29 3a f4  20 47 65 6e 65 72 61 6c  |F2,ML):. General|
00001760  20 50 75 72 70 6f 73 65  20 49 6e 70 75 74 20 52  | Purpose Input R|
00001770  6f 75 74 69 6e 65 0d 23  32 0b 20 ea 42 2c 42 24  |outine.#2. .B,B$|
00001780  20 0d 23 3c 0a 20 41 24  3d 22 22 0d 23 46 2b 20  | .#<. A$="".#F+ |
00001790  f1 c4 4d 4c 2c 22 20 22  29 3b c4 4d 4c 2b 31 2c  |..ML," ");.ML+1,|
000017a0  bd 28 38 29 29 3b bd 28  26 38 37 29 3b 3a f2 4f  |.(8));.(&87);:.O|
000017b0  4e 3a f2 4b 43 4c 0d 23  50 1f 20 42 24 3d be 3a  |N:.KCL.#P. B$=.:|
000017c0  42 3d 97 28 42 24 29 3a  e7 20 42 3d 31 33 20 8c  |B=.(B$):. B=13 .|
000017d0  20 8d 64 66 63 0d 23 5a  1b 20 e7 20 42 3d 31 32  | .dfc.#Z. . B=12|
000017e0  37 20 80 20 41 24 3d 22  22 20 8c 20 8d 44 50 63  |7 . A$="" . .DPc|
000017f0  0d 23 64 2a 20 e7 20 42  3d 31 32 37 20 8c 20 41  |.#d* . B=127 . A|
00001800  24 3d c0 41 24 2c a9 28  41 24 29 2d 31 29 3a f1  |$=.A$,.(A$)-1):.|
00001810  42 24 3b 3a e5 8d 44 50  63 20 0d 23 6e 25 20 e7  |B$;:..DPc .#n% .|
00001820  20 a9 28 41 24 29 3d 4d  4c 20 84 20 42 3c 33 32  | .(A$)=ML . B<32|
00001830  20 84 20 42 3e 31 32 36  20 8c 20 8d 64 52 63 0d  | . B>126 . .dRc.|
00001840  23 78 2b 20 e7 20 46 32  3d 30 20 84 20 42 3d 33  |#x+ . F2=0 . B=3|
00001850  32 20 84 20 28 42 3e 3d  34 38 20 80 20 42 3c 3d  |2 . (B>=48 . B<=|
00001860  35 37 29 20 8c 20 8d 64  5c 63 0d 23 d2 0d 20 ef  |57) . .d\c.#.. .|
00001870  37 3a e5 8d 44 50 63 0d  23 dc 18 20 f1 42 24 3b  |7:..DPc.#.. .B$;|
00001880  3a 41 24 3d 41 24 2b 42  24 3a e5 8d 44 50 63 0d  |:A$=A$+B$:..DPc.|
00001890  23 e6 09 20 f2 4f 46 46  0d 23 ef 06 20 e1 0d 23  |#.. .OFF.#.. ..#|
000018a0  f0 0e 20 dd f2 59 45 53  4f 52 4e 4f 0d 23 fa 09  |.. ..YESORNO.#..|
000018b0  20 ea 42 24 20 0d 24 04  0e 20 f2 47 50 49 28 30  | .B$ .$.. .GPI(0|
000018c0  2c 33 29 0d 24 0e 0e 20  42 24 3d c0 41 24 2c 31  |,3).$.. B$=.A$,1|
000018d0  29 0d 24 18 0a 20 59 25  3d 2d 31 0d 24 22 1d 20  |).$.. Y%=-1.$". |
000018e0  e7 20 42 24 3d 22 59 22  20 84 20 42 24 3d 22 79  |. B$="Y" . B$="y|
000018f0  22 20 8c 20 59 25 3d 31  0d 24 2c 1d 20 e7 20 42  |" . Y%=1.$,. . B|
00001900  24 3d 22 4e 22 20 84 20  42 24 3d 22 6e 22 20 8c  |$="N" . B$="n" .|
00001910  20 59 25 3d 30 0d 24 53  06 20 e1 0d ff           | Y%=0.$S. ...|
0000191d
W.BIORTHM.m0
W.BIORTHM.m1
W.BIORTHM.m2
W.BIORTHM.m4
W.BIORTHM.m5