Home » Personal collection » Acorn tapes » Own_Work » box02_tape03a_c15_acorn_maths.wav » APP/WASTE2

APP/WASTE2

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 tapes » Own_Work » box02_tape03a_c15_acorn_maths.wav
Filename: APP/WASTE2
Read OK:
File size: 0200 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents

 @%=&20300
 �3
 early=0
( total=0
2 � �d\@
< � consult(30)
F � count=1 � 30
P � consult
Z/ total=total+consult:consult(count)=consult
d � count
n � appoint=0 � 20 � 0.5
x- in=0:out=0:doctor=0:patient=0:patient2=0
� � patcount%=1tient2+(out-apptime)
�+ in=newin:out=newin+consult:� patcount%
� doctor=out-total
ȯ � �0) �((appoint*10)+0.5)/10;�10)�x(doctor);�20)�x(patient);�31)�x(patient2);�42)�x(doctor+patient);�53)�x(doctor+patient2);�64)�x(100*((doctor+patient2)/out));"% wast
00000000  0d 00 0a 0e 20 40 25 3d  26 32 30 33 30 30 0d 00  |.... @%=&20300..|
00000010  14 07 20 eb 33 0d 00 1e  0c 20 65 61 72 6c 79 3d  |.. .3.... early=|
00000020  30 0d 00 28 0c 20 74 6f  74 61 6c 3d 30 0d 00 32  |0..(. total=0..2|
00000030  0b 20 f7 20 8d 64 5c 40  0d 00 3c 12 20 de 20 63  |. . .d\@..<. . c|
00000040  6f 6e 73 75 6c 74 28 33  30 29 0d 00 46 13 20 e3  |onsult(30)..F. .|
00000050  20 63 6f 75 6e 74 3d 31  20 b8 20 33 30 0d 00 50  | count=1 . 30..P|
00000060  0e 20 f3 20 63 6f 6e 73  75 6c 74 0d 00 5a 2f 20  |. . consult..Z/ |
00000070  74 6f 74 61 6c 3d 74 6f  74 61 6c 2b 63 6f 6e 73  |total=total+cons|
00000080  75 6c 74 3a 63 6f 6e 73  75 6c 74 28 63 6f 75 6e  |ult:consult(coun|
00000090  74 29 3d 63 6f 6e 73 75  6c 74 0d 00 64 0c 20 ed  |t)=consult..d. .|
000000a0  20 63 6f 75 6e 74 0d 00  6e 1b 20 e3 20 61 70 70  | count..n. . app|
000000b0  6f 69 6e 74 3d 30 20 b8  20 32 30 20 88 20 30 2e  |oint=0 . 20 . 0.|
000000c0  35 0d 00 78 2d 20 69 6e  3d 30 3a 6f 75 74 3d 30  |5..x- in=0:out=0|
000000d0  3a 64 6f 63 74 6f 72 3d  30 3a 70 61 74 69 65 6e  |:doctor=0:patien|
000000e0  74 3d 30 3a 70 61 74 69  65 6e 74 32 3d 30 0d 00  |t=0:patient2=0..|
000000f0  82 17 20 e3 20 70 61 74  63 6f 75 6e 74 25 3d 31  |.. . patcount%=1|
00000100  74 69 65 6e 74 32 2b 28  6f 75 74 2d 61 70 70 74  |tient2+(out-appt|
00000110  69 6d 65 29 0d 00 b4 2b  20 69 6e 3d 6e 65 77 69  |ime)...+ in=newi|
00000120  6e 3a 6f 75 74 3d 6e 65  77 69 6e 2b 63 6f 6e 73  |n:out=newin+cons|
00000130  75 6c 74 3a ed 20 70 61  74 63 6f 75 6e 74 25 0d  |ult:. patcount%.|
00000140  00 be 15 20 64 6f 63 74  6f 72 3d 6f 75 74 2d 74  |... doctor=out-t|
00000150  6f 74 61 6c 0d 00 c8 af  20 f1 20 8a 30 29 20 a8  |otal.... . .0) .|
00000160  28 28 61 70 70 6f 69 6e  74 2a 31 30 29 2b 30 2e  |((appoint*10)+0.|
00000170  35 29 2f 31 30 3b 8a 31  30 29 a4 78 28 64 6f 63  |5)/10;.10).x(doc|
00000180  74 6f 72 29 3b 8a 32 30  29 a4 78 28 70 61 74 69  |tor);.20).x(pati|
00000190  65 6e 74 29 3b 8a 33 31  29 a4 78 28 70 61 74 69  |ent);.31).x(pati|
000001a0  65 6e 74 32 29 3b 8a 34  32 29 a4 78 28 64 6f 63  |ent2);.42).x(doc|
000001b0  74 6f 72 2b 70 61 74 69  65 6e 74 29 3b 8a 35 33  |tor+patient);.53|
000001c0  29 a4 78 28 64 6f 63 74  6f 72 2b 70 61 74 69 65  |).x(doctor+patie|
000001d0  6e 74 32 29 3b 8a 36 34  29 a4 78 28 31 30 30 2a  |nt2);.64).x(100*|
000001e0  28 28 64 6f 63 74 6f 72  2b 70 61 74 69 65 6e 74  |((doctor+patient|
000001f0  32 29 2f 6f 75 74 29 29  3b 22 25 20 77 61 73 74  |2)/out));"% wast|
00000200
APP/WASTE2.m0
APP/WASTE2.m1
APP/WASTE2.m2
APP/WASTE2.m4
APP/WASTE2.m5