Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars » StarInfo/nonsense/Amy

StarInfo/nonsense/Amy

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 » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars
Filename: StarInfo/nonsense/Amy
Read OK:
File size: 10D9 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM >Amy
    2
    3REM This simulates Amy reading a story.  Amy is nearly two and can't read of
    4REM course, but if she could this is what it would sound like - including
    5REM interruptions ;-)
    6
    7SYS "OS_GetEnv" TO a$
    8file$=MID$(a$,INSTR(a$,""" ")+2)
    9IF file$="" THEN INPUT "File name: "file$
   10
   11in=0
   12ON ERROR: ON ERROR OFF: PROCclose: ERROR ERR, REPORT$+" at "+STR$ERL: END
   13PROCinit
   14
   15in=OPENINfile$
   16IF in=0 THEN ERROR 1,"Couldn't open file "+file$
   17
   18o$=""
   19WHILE NOT EOF#in
   20  a$=GET$#in
   21
   22  REM first remove all punctuation - Amy doesn't understand it
   23  b$=""
   24  FOR i=1 TO LENa$
   25    c$=MID$(a$,i,1)
   26    IF (c$>="a" AND c$<="z") OR (c$>="A" AND c$<="Z") THEN
   27      b$+=c$
   28    ELSE
   29      IF c$<>"'" AND c$<>"-" THEN
   30        IF b$<>"" AND RIGHT$(b$,1)<>" " THEN b$+=" "
   31      ENDIF
   32    ENDIF
   33  NEXT i
   34
   35  PROCstrip(b$)
   36  a$=FNlower(b$)
   37
   38  REM go through the words one by one
   39  WHILE a$<>""
   40    a=INSTR(a$," ")
   41    IF a THEN
   42      b$=LEFT$(a$,a-1)
   43      a$=MID$(a$,a+1)
   44    ELSE
   45      b$=a$
   46      a$=""
   47    ENDIF
   48    IF b$<>"" THEN IF FNunsaid(b$) THEN b$=""
   49    IF b$<>"" THEN PROCmisspeak(b$)
   50    IF b$<>"" THEN
   51      IF o$<>"" THEN o$+=" "
   52      o$+=b$
   53      IF RND(1)<0.1 THEN o$+=" "+FNwant
   54    ENDIF
   55    IF LENo$>40 THEN
   56      a=INSTR(o$," ",40)
   57      IF a THEN
   58        PRINT LEFT$(o$,a-1)
   59        o$=MID$(o$,a+1)
   60      ELSE
   61        PRINT o$
   62        o$=""
   63      ENDIF
   64    ENDIF
   65  ENDWHILE
   66
   67ENDWHILE
   68IF o$<>"" THEN PRINT o$
   69
   70PROCclose
   71END
   72
   73DEF PROCclose
   74  IF in THEN CLOSE#in: in=0
   75ENDPROC
   76
   77DEF FNunsaid(a$)
   78  LOCAL i
   79  FOR i=0 TO unsaid-1
   80    IF unsaid$(i)=a$ THEN =TRUE
   81  NEXT i
   82=FALSE
   83
   84DEF FNlower(a$)
   85  LOCAL i
   86  FOR i=1 TO LENa$
   87    IF MID$(a$,i,1)>="A" AND MID$(a$,i,1)<="Z" THEN
   88      a$=LEFT$(a$,i-1)+CHR$(ASC(MID$(a$,i,1))+32)+MID$(a$,i+1)
   89    ENDIF
   90  NEXT i
   91=a$
   92
   93DEF PROCstrip(RETURN a$)
   94  LOCAL i
   95  WHILE LEFT$(a$,1)=" "
   96    a$=MID$(a$,2)
   97  ENDWHILE
   98  WHILE RIGHT$(a$,1)=" "
   99    a$=LEFT$(a$)
  100  ENDWHILE
  101ENDPROC
  102
  103REM initialise
  104
  105DEF PROCinit
  106  RESTORE +0
  107  DIM unsaid$(100)
  108  DIM noun$(100)
  109  DIM verb$(100)
  110
  111  unsaid=0
  112  REPEAT
  113    READ a$
  114    IF a$<>"*" THEN
  115      unsaid$(unsaid)=a$
  116      unsaid+=1
  117    ENDIF
  118  UNTIL a$="*"
  119
  120  nouns=0
  121  REPEAT
  122    READ a$
  123    IF a$<>"*" THEN
  124      noun$(nouns)=a$
  125      nouns+=1
  126    ENDIF
  127  UNTIL a$="*"
  128
  129  verbs=0
  130  REPEAT
  131    READ a$
  132    IF a$<>"*" THEN
  133      verb$(verbs)=a$
  134      verbs+=1
  135    ENDIF
  136  UNTIL a$="*"
  137
  138  vowel$="aeiou"
  139  consonant$="bcdfghjklmnpqrstvwxyz"
  140
  141  SYS "OS_ReadMonotonicTime" TO a%
  142  a%=RND(a% OR (1<<31))
  143ENDPROC
  144
  145
  146REM words Amy knows but never says
  147
  148DATA the, in, at, on, over, of, and, was, a, who, to, but, she, he, be, over
  149DATA one, but, by, it, as, so, for, her
  150DATA *
  151
  152REM "nouns"
  153
  154DATA juice, milk, cuddle, daddy, mummy, holly, ednum, oof oof, pider
  155DATA lizzy, pig, etephant, pippy, baby, car, tubbies, dipsy, laa laa
  156DATA *
  157
  158REM "verbs"
  159
  160DATA more, nuff, amy, _comes, _all gone, look, please, _sick, _roundy round
  161DATA _off, _lap, uh oh, oh dear
  162DATA *
  163
  164
  165REM This changes words to mis-pronounce them the way Amy does
  166
  167DEF PROCmisspeak(RETURN a$)
  168  LOCAL a
  169  IF LENa$<3 THEN ENDPROC
  170
  171  REM drop w or h at the start of a word if they preceed a vowel
  172  IF LENa$>3 AND (LEFT$(a$,1)="w" OR LEFT$(a$,1)="h") AND INSTR(vowel$,MID$(a$,2,1))<>0 THEN
  173    a$=MID$(a$,2)
  174  ENDIF
  175
  176  REM r , vowel at start of word becomes y
  177  IF LEFT$(a$,1)="r" AND INSTR(vowel$,MID$(a$,2,1))<>0 THEN
  178    a$="y"+MID$(a$,2)
  179  ENDIF
  180
  181  REM consonant l loses the l at start of word
  182  IF INSTR(consonant$,LEFT$(a$,1))<>0 AND MID$(a$,2,1)="l" THEN
  183    a$=LEFT$(a$,1)+MID$(a$,3)
  184  ENDIF
  185
  186  REM r, vowel within word becomes w
  187  a = 1
  188  REPEAT
  189    a = INSTR(a$,"r",a+1)
  190    IF a THEN
  191      IF MID$(a$,a+1,1)<>"" AND INSTR(vowel$,MID$(a$,a+1,1)) THEN
  192        a$=LEFT$(a$,a-1)+"w"+MID$(a$,a+1)
  193      ELSE
  194        a+=1
  195      ENDIF
  196    ENDIF
  197  UNTIL a = 0
  198
  199  REM reduce all dipthongs to the first vowel unless it was a repeated
  200  REM vowel and not at the end of a word
  201
  202  FOR a=1 TO LENa$
  203    IF INSTR(vowel$,MID$(a$,a,1))<>0 AND a+1<>LENa$ THEN
  204      IF INSTR(vowel$,MID$(a$,a+1,1))<>0 THEN
  205        IF MID$(a$,a,1)<>MID$(a$,a+1,1) THEN
  206          a$=LEFT$(a$,a)+MID$(a$,a+2)
  207        ENDIF
  208      ENDIF
  209    ENDIF
  210  NEXT a
  211
  212  REM if a word is long chop some letters off randomly
  213  IF LENa$>6 THEN
  214    a$=LEFT$(a$,6+RND(LENa$-5)-1)
  215  ENDIF
  216ENDPROC
  217
  218REM construct a random Amy sentence
  219
  220DEF FNwant
  221  LOCAL n$,v$,a$
  222  n$=noun$(RND(nouns)-1)
  223  v$=verb$(RND(verbs)-1)
  224  IF LEFT$(v$,1)="_" THEN
  225    a$=n$+" "+MID$(v$,2)
  226  ELSE
  227    a$=v$+" "+n$
  228  ENDIF
  229  IF RND(1)<0.5 THEN a$=a$+" "+a$
  230=a$

� >Amy

N� This simulates Amy reading a story.  Amy is nearly two and can't read of
K� course, but if she could this is what it would sound like - including
� interruptions ;-)

ș "OS_GetEnv" � a$
file$=�a$,�a$,""" ")+2)
	%� file$="" � � "File name: "file$


in=0
,� �: � � �: �close: � �, �$+" at "+Þ: �

	�init


in=�file$
,� in=0 � � 1,"Couldn't open file "+file$

	o$=""

ȕ � �#in

  a$=�#in

@  � first remove all punctuation - Amy doesn't understand it
  b$=""
  � i=1 � �a$
    c$=�a$,i,1)
5    � (c$>="a" � c$<="z") � (c$>="A" � c$<="Z") �
      b$+=c$
	    �
      � c$<>"'" � c$<>"-" �
,        � b$<>"" � �b$,1)<>" " � b$+=" "
      �
 	    �
!	  � i
"
#  �strip(b$)
$  a$=�lower(b$)
%
&'  � go through the words one by one
'  ȕ a$<>""
(    a=�a$," ")
)
    � a �
*      b$=�a$,a-1)
+      a$=�a$,a+1)
,	    �
-      b$=a$
.      a$=""
/	    �
0(    � b$<>"" � � �unsaid(b$) � b$=""
1     � b$<>"" � �misspeak(b$)
2    � b$<>"" �
3      � o$<>"" � o$+=" "
4      o$+=b$
5$      � �(1)<0.1 � o$+=" "+�want
6	    �
7    � �o$>40 �
8      a=�o$," ",40)
9      � a �
:        � �o$,a-1)
;        o$=�o$,a+1)
<      �
=        � o$
>        o$=""
?      �
@	    �
A  �
B
C�
D� o$<>"" � � o$
E
F
�close
G�
H
I� �close
J  � in � �#in: in=0
K�
L
M� �unsaid(a$)
N	  � i
O  � i=0 � unsaid-1
P    � unsaid$(i)=a$ � =�
Q	  � i
R=�
S
T� �lower(a$)
U	  � i
V  � i=1 � �a$
W)    � �a$,i,1)>="A" � �a$,i,1)<="Z" �
X0      a$=�a$,i-1)+�(�(�a$,i,1))+32)+�a$,i+1)
Y	    �
Z	  � i
[=a$
\
]� �strip(� a$)
^	  � i
_  ȕ �a$,1)=" "
`    a$=�a$,2)
a  �
b  ȕ �a$,1)=" "
c    a$=�a$)
d  �
e�
f
g� initialise
h
i� �init
j
  � +0
k  � unsaid$(100)
l  � noun$(100)
m  � verb$(100)
n
o  unsaid=0
p  �
q    � a$
r    � a$<>"*" �
s      unsaid$(unsaid)=a$
t      unsaid+=1
u	    �
v  � a$="*"
w
x
  nouns=0
y  �
z    � a$
{    � a$<>"*" �
|      noun$(nouns)=a$
}      nouns+=1
~	    �
  � a$="*"
�
�
  verbs=0
�  �
�    � a$
�    � a$<>"*" �
�      verb$(verbs)=a$
�      verbs+=1
�	    �
�  � a$="*"
�
�  vowel$="aeiou"
�(  consonant$="bcdfghjklmnpqrstvwxyz"
�
�$  ș "OS_ReadMonotonicTime" � a%
�  a%=�(a% � (1<<31))
��
�
�
�$� words Amy knows but never says
�
�M� the, in, at, on, over, of, and, was, a, who, to, but, she, he, be, over
�(� one, but, by, it, as, so, for, her
�� *
�
�
� "nouns"
�
�E� juice, milk, cuddle, daddy, mummy, holly, ednum, oof oof, pider
�E� lizzy, pig, etephant, pippy, baby, car, tubbies, dipsy, laa laa
�� *
�
�
� "verbs"
�
�L� more, nuff, amy, _comes, _all gone, look, please, _sick, _roundy round
� � _off, _lap, uh oh, oh dear
�� *
�
�
�?� This changes words to mis-pronounce them the way Amy does
�
�� �misspeak(� a$)
�	  � a
�  � �a$<3 � �
�
�B  � drop w or h at the start of a word if they preceed a vowel
�B  � �a$>3 � (�a$,1)="w" � �a$,1)="h") � �vowel$,�a$,2,1))<>0 �
�    a$=�a$,2)
�  �
�
�,  � r , vowel at start of word becomes y
�+  � �a$,1)="r" � �vowel$,�a$,2,1))<>0 �
�    a$="y"+�a$,2)
�  �
�
�0  � consonant l loses the l at start of word
�/  � �consonant$,�a$,1))<>0 � �a$,2,1)="l" �
�    a$=�a$,1)+�a$,3)
�  �
�
�&  � r, vowel within word becomes w
�  a = 1
�  �
�    a = �a$,"r",a+1)
�
    � a �
�2      � �a$,a+1,1)<>"" � �vowel$,�a$,a+1,1)) �
�$        a$=�a$,a-1)+"w"+�a$,a+1)
�      �
�        a+=1
�      �
�	    �
�
  � a = 0
�
�H  � reduce all dipthongs to the first vowel unless it was a repeated
�*  � vowel and not at the end of a word
�
�  � a=1 � �a$
�+    � �vowel$,�a$,a,1))<>0 � a+1<>�a$ �
�$      � �vowel$,�a$,a+1,1))<>0 �
�$        � �a$,a,1)<>�a$,a+1,1) �
�           a$=�a$,a)+�a$,a+2)
�
        �
�      �
�	    �
�	  � a
�
�8  � if a word is long chop some letters off randomly
�  � �a$>6 �
�    a$=�a$,6+�(�a$-5)-1)
�  �
��
�
�%� construct a random Amy sentence
�
�� �want
�  � n$,v$,a$
�  n$=noun$(�(nouns)-1)
�  v$=verb$(�(verbs)-1)
�  � �v$,1)="_" �
�    a$=n$+" "+�v$,2)
�  �
�    a$=v$+" "+n$
�  �
�  � �(1)<0.5 � a$=a$+" "+a$
�=a$
�
00000000  0d 00 01 0a f4 20 3e 41  6d 79 0d 00 02 04 0d 00  |..... >Amy......|
00000010  03 4e f4 20 54 68 69 73  20 73 69 6d 75 6c 61 74  |.N. This simulat|
00000020  65 73 20 41 6d 79 20 72  65 61 64 69 6e 67 20 61  |es Amy reading a|
00000030  20 73 74 6f 72 79 2e 20  20 41 6d 79 20 69 73 20  | story.  Amy is |
00000040  6e 65 61 72 6c 79 20 74  77 6f 20 61 6e 64 20 63  |nearly two and c|
00000050  61 6e 27 74 20 72 65 61  64 20 6f 66 0d 00 04 4b  |an't read of...K|
00000060  f4 20 63 6f 75 72 73 65  2c 20 62 75 74 20 69 66  |. course, but if|
00000070  20 73 68 65 20 63 6f 75  6c 64 20 74 68 69 73 20  | she could this |
00000080  69 73 20 77 68 61 74 20  69 74 20 77 6f 75 6c 64  |is what it would|
00000090  20 73 6f 75 6e 64 20 6c  69 6b 65 20 2d 20 69 6e  | sound like - in|
000000a0  63 6c 75 64 69 6e 67 0d  00 05 17 f4 20 69 6e 74  |cluding..... int|
000000b0  65 72 72 75 70 74 69 6f  6e 73 20 3b 2d 29 0d 00  |erruptions ;-)..|
000000c0  06 04 0d 00 07 17 c8 99  20 22 4f 53 5f 47 65 74  |........ "OS_Get|
000000d0  45 6e 76 22 20 b8 20 61  24 0d 00 08 1b 66 69 6c  |Env" . a$....fil|
000000e0  65 24 3d c1 61 24 2c a7  61 24 2c 22 22 22 20 22  |e$=.a$,.a$,""" "|
000000f0  29 2b 32 29 0d 00 09 25  e7 20 66 69 6c 65 24 3d  |)+2)...%. file$=|
00000100  22 22 20 8c 20 e8 20 22  46 69 6c 65 20 6e 61 6d  |"" . . "File nam|
00000110  65 3a 20 22 66 69 6c 65  24 0d 00 0a 04 0d 00 0b  |e: "file$.......|
00000120  08 69 6e 3d 30 0d 00 0c  2c ee 20 85 3a 20 ee 20  |.in=0...,. .: . |
00000130  85 20 87 3a 20 f2 63 6c  6f 73 65 3a 20 85 20 9f  |. .: .close: . .|
00000140  2c 20 f6 24 2b 22 20 61  74 20 22 2b c3 9e 3a 20  |, .$+" at "+..: |
00000150  e0 0d 00 0d 09 f2 69 6e  69 74 0d 00 0e 04 0d 00  |......init......|
00000160  0f 0d 69 6e 3d 8e 66 69  6c 65 24 0d 00 10 2c e7  |..in=.file$...,.|
00000170  20 69 6e 3d 30 20 8c 20  85 20 31 2c 22 43 6f 75  | in=0 . . 1,"Cou|
00000180  6c 64 6e 27 74 20 6f 70  65 6e 20 66 69 6c 65 20  |ldn't open file |
00000190  22 2b 66 69 6c 65 24 0d  00 11 04 0d 00 12 09 6f  |"+file$........o|
000001a0  24 3d 22 22 0d 00 13 0d  c8 95 20 ac 20 c5 23 69  |$=""...... . .#i|
000001b0  6e 0d 00 14 0d 20 20 61  24 3d be 23 69 6e 0d 00  |n....  a$=.#in..|
000001c0  15 04 0d 00 16 40 20 20  f4 20 66 69 72 73 74 20  |.....@  . first |
000001d0  72 65 6d 6f 76 65 20 61  6c 6c 20 70 75 6e 63 74  |remove all punct|
000001e0  75 61 74 69 6f 6e 20 2d  20 41 6d 79 20 64 6f 65  |uation - Amy doe|
000001f0  73 6e 27 74 20 75 6e 64  65 72 73 74 61 6e 64 20  |sn't understand |
00000200  69 74 0d 00 17 0b 20 20  62 24 3d 22 22 0d 00 18  |it....  b$=""...|
00000210  11 20 20 e3 20 69 3d 31  20 b8 20 a9 61 24 0d 00  |.  . i=1 . .a$..|
00000220  19 13 20 20 20 20 63 24  3d c1 61 24 2c 69 2c 31  |..    c$=.a$,i,1|
00000230  29 0d 00 1a 35 20 20 20  20 e7 20 28 63 24 3e 3d  |)...5    . (c$>=|
00000240  22 61 22 20 80 20 63 24  3c 3d 22 7a 22 29 20 84  |"a" . c$<="z") .|
00000250  20 28 63 24 3e 3d 22 41  22 20 80 20 63 24 3c 3d  | (c$>="A" . c$<=|
00000260  22 5a 22 29 20 8c 0d 00  1b 10 20 20 20 20 20 20  |"Z") .....      |
00000270  62 24 2b 3d 63 24 0d 00  1c 09 20 20 20 20 cc 0d  |b$+=c$....    ..|
00000280  00 1d 1f 20 20 20 20 20  20 e7 20 63 24 3c 3e 22  |...      . c$<>"|
00000290  27 22 20 80 20 63 24 3c  3e 22 2d 22 20 8c 0d 00  |'" . c$<>"-" ...|
000002a0  1e 2c 20 20 20 20 20 20  20 20 e7 20 62 24 3c 3e  |.,        . b$<>|
000002b0  22 22 20 80 20 c2 62 24  2c 31 29 3c 3e 22 20 22  |"" . .b$,1)<>" "|
000002c0  20 8c 20 62 24 2b 3d 22  20 22 0d 00 1f 0b 20 20  | . b$+=" "....  |
000002d0  20 20 20 20 cd 0d 00 20  09 20 20 20 20 cd 0d 00  |    ... .    ...|
000002e0  21 09 20 20 ed 20 69 0d  00 22 04 0d 00 23 10 20  |!.  . i.."...#. |
000002f0  20 f2 73 74 72 69 70 28  62 24 29 0d 00 24 13 20  | .strip(b$)..$. |
00000300  20 61 24 3d a4 6c 6f 77  65 72 28 62 24 29 0d 00  | a$=.lower(b$)..|
00000310  25 04 0d 00 26 27 20 20  f4 20 67 6f 20 74 68 72  |%...&'  . go thr|
00000320  6f 75 67 68 20 74 68 65  20 77 6f 72 64 73 20 6f  |ough the words o|
00000330  6e 65 20 62 79 20 6f 6e  65 0d 00 27 0f 20 20 c8  |ne by one..'.  .|
00000340  95 20 61 24 3c 3e 22 22  0d 00 28 12 20 20 20 20  |. a$<>""..(.    |
00000350  61 3d a7 61 24 2c 22 20  22 29 0d 00 29 0d 20 20  |a=.a$," ")..).  |
00000360  20 20 e7 20 61 20 8c 0d  00 2a 15 20 20 20 20 20  |  . a ...*.     |
00000370  20 62 24 3d c0 61 24 2c  61 2d 31 29 0d 00 2b 15  | b$=.a$,a-1)..+.|
00000380  20 20 20 20 20 20 61 24  3d c1 61 24 2c 61 2b 31  |      a$=.a$,a+1|
00000390  29 0d 00 2c 09 20 20 20  20 cc 0d 00 2d 0f 20 20  |)..,.    ...-.  |
000003a0  20 20 20 20 62 24 3d 61  24 0d 00 2e 0f 20 20 20  |    b$=a$....   |
000003b0  20 20 20 61 24 3d 22 22  0d 00 2f 09 20 20 20 20  |   a$=""../.    |
000003c0  cd 0d 00 30 28 20 20 20  20 e7 20 62 24 3c 3e 22  |...0(    . b$<>"|
000003d0  22 20 8c 20 e7 20 a4 75  6e 73 61 69 64 28 62 24  |" . . .unsaid(b$|
000003e0  29 20 8c 20 62 24 3d 22  22 0d 00 31 20 20 20 20  |) . b$=""..1    |
000003f0  20 e7 20 62 24 3c 3e 22  22 20 8c 20 f2 6d 69 73  | . b$<>"" . .mis|
00000400  73 70 65 61 6b 28 62 24  29 0d 00 32 12 20 20 20  |speak(b$)..2.   |
00000410  20 e7 20 62 24 3c 3e 22  22 20 8c 0d 00 33 1c 20  | . b$<>"" ...3. |
00000420  20 20 20 20 20 e7 20 6f  24 3c 3e 22 22 20 8c 20  |     . o$<>"" . |
00000430  6f 24 2b 3d 22 20 22 0d  00 34 10 20 20 20 20 20  |o$+=" "..4.     |
00000440  20 6f 24 2b 3d 62 24 0d  00 35 24 20 20 20 20 20  | o$+=b$..5$     |
00000450  20 e7 20 b3 28 31 29 3c  30 2e 31 20 8c 20 6f 24  | . .(1)<0.1 . o$|
00000460  2b 3d 22 20 22 2b a4 77  61 6e 74 0d 00 36 09 20  |+=" "+.want..6. |
00000470  20 20 20 cd 0d 00 37 12  20 20 20 20 e7 20 a9 6f  |   ...7.    . .o|
00000480  24 3e 34 30 20 8c 0d 00  38 17 20 20 20 20 20 20  |$>40 ...8.      |
00000490  61 3d a7 6f 24 2c 22 20  22 2c 34 30 29 0d 00 39  |a=.o$," ",40)..9|
000004a0  0f 20 20 20 20 20 20 e7  20 61 20 8c 0d 00 3a 16  |.      . a ...:.|
000004b0  20 20 20 20 20 20 20 20  f1 20 c0 6f 24 2c 61 2d  |        . .o$,a-|
000004c0  31 29 0d 00 3b 17 20 20  20 20 20 20 20 20 6f 24  |1)..;.        o$|
000004d0  3d c1 6f 24 2c 61 2b 31  29 0d 00 3c 0b 20 20 20  |=.o$,a+1)..<.   |
000004e0  20 20 20 cc 0d 00 3d 10  20 20 20 20 20 20 20 20  |   ...=.        |
000004f0  f1 20 6f 24 0d 00 3e 11  20 20 20 20 20 20 20 20  |. o$..>.        |
00000500  6f 24 3d 22 22 0d 00 3f  0b 20 20 20 20 20 20 cd  |o$=""..?.      .|
00000510  0d 00 40 09 20 20 20 20  cd 0d 00 41 07 20 20 ce  |..@.    ...A.  .|
00000520  0d 00 42 04 0d 00 43 05  ce 0d 00 44 13 e7 20 6f  |..B...C....D.. o|
00000530  24 3c 3e 22 22 20 8c 20  f1 20 6f 24 0d 00 45 04  |$<>"" . . o$..E.|
00000540  0d 00 46 0a f2 63 6c 6f  73 65 0d 00 47 05 e0 0d  |..F..close..G...|
00000550  00 48 04 0d 00 49 0c dd  20 f2 63 6c 6f 73 65 0d  |.H...I.. .close.|
00000560  00 4a 17 20 20 e7 20 69  6e 20 8c 20 d9 23 69 6e  |.J.  . in . .#in|
00000570  3a 20 69 6e 3d 30 0d 00  4b 05 e1 0d 00 4c 04 0d  |: in=0..K....L..|
00000580  00 4d 11 dd 20 a4 75 6e  73 61 69 64 28 61 24 29  |.M.. .unsaid(a$)|
00000590  0d 00 4e 09 20 20 ea 20  69 0d 00 4f 16 20 20 e3  |..N.  . i..O.  .|
000005a0  20 69 3d 30 20 b8 20 75  6e 73 61 69 64 2d 31 0d  | i=0 . unsaid-1.|
000005b0  00 50 1c 20 20 20 20 e7  20 75 6e 73 61 69 64 24  |.P.    . unsaid$|
000005c0  28 69 29 3d 61 24 20 8c  20 3d b9 0d 00 51 09 20  |(i)=a$ . =...Q. |
000005d0  20 ed 20 69 0d 00 52 06  3d a3 0d 00 53 04 0d 00  | . i..R.=...S...|
000005e0  54 10 dd 20 a4 6c 6f 77  65 72 28 61 24 29 0d 00  |T.. .lower(a$)..|
000005f0  55 09 20 20 ea 20 69 0d  00 56 11 20 20 e3 20 69  |U.  . i..V.  . i|
00000600  3d 31 20 b8 20 a9 61 24  0d 00 57 29 20 20 20 20  |=1 . .a$..W)    |
00000610  e7 20 c1 61 24 2c 69 2c  31 29 3e 3d 22 41 22 20  |. .a$,i,1)>="A" |
00000620  80 20 c1 61 24 2c 69 2c  31 29 3c 3d 22 5a 22 20  |. .a$,i,1)<="Z" |
00000630  8c 0d 00 58 30 20 20 20  20 20 20 61 24 3d c0 61  |...X0      a$=.a|
00000640  24 2c 69 2d 31 29 2b bd  28 97 28 c1 61 24 2c 69  |$,i-1)+.(.(.a$,i|
00000650  2c 31 29 29 2b 33 32 29  2b c1 61 24 2c 69 2b 31  |,1))+32)+.a$,i+1|
00000660  29 0d 00 59 09 20 20 20  20 cd 0d 00 5a 09 20 20  |)..Y.    ...Z.  |
00000670  ed 20 69 0d 00 5b 07 3d  61 24 0d 00 5c 04 0d 00  |. i..[.=a$..\...|
00000680  5d 12 dd 20 f2 73 74 72  69 70 28 f8 20 61 24 29  |].. .strip(. a$)|
00000690  0d 00 5e 09 20 20 ea 20  69 0d 00 5f 13 20 20 c8  |..^.  . i.._.  .|
000006a0  95 20 c0 61 24 2c 31 29  3d 22 20 22 0d 00 60 11  |. .a$,1)=" "..`.|
000006b0  20 20 20 20 61 24 3d c1  61 24 2c 32 29 0d 00 61  |    a$=.a$,2)..a|
000006c0  07 20 20 ce 0d 00 62 13  20 20 c8 95 20 c2 61 24  |.  ...b.  .. .a$|
000006d0  2c 31 29 3d 22 20 22 0d  00 63 0f 20 20 20 20 61  |,1)=" "..c.    a|
000006e0  24 3d c0 61 24 29 0d 00  64 07 20 20 ce 0d 00 65  |$=.a$)..d.  ...e|
000006f0  05 e1 0d 00 66 04 0d 00  67 10 f4 20 69 6e 69 74  |....f...g.. init|
00000700  69 61 6c 69 73 65 0d 00  68 04 0d 00 69 0b dd 20  |ialise..h...i.. |
00000710  f2 69 6e 69 74 0d 00 6a  0a 20 20 f7 20 2b 30 0d  |.init..j.  . +0.|
00000720  00 6b 14 20 20 de 20 75  6e 73 61 69 64 24 28 31  |.k.  . unsaid$(1|
00000730  30 30 29 0d 00 6c 12 20  20 de 20 6e 6f 75 6e 24  |00)..l.  . noun$|
00000740  28 31 30 30 29 0d 00 6d  12 20 20 de 20 76 65 72  |(100)..m.  . ver|
00000750  62 24 28 31 30 30 29 0d  00 6e 04 0d 00 6f 0e 20  |b$(100)..n...o. |
00000760  20 75 6e 73 61 69 64 3d  30 0d 00 70 07 20 20 f5  | unsaid=0..p.  .|
00000770  0d 00 71 0c 20 20 20 20  f3 20 61 24 0d 00 72 13  |..q.    . a$..r.|
00000780  20 20 20 20 e7 20 61 24  3c 3e 22 2a 22 20 8c 0d  |    . a$<>"*" ..|
00000790  00 73 1c 20 20 20 20 20  20 75 6e 73 61 69 64 24  |.s.      unsaid$|
000007a0  28 75 6e 73 61 69 64 29  3d 61 24 0d 00 74 13 20  |(unsaid)=a$..t. |
000007b0  20 20 20 20 20 75 6e 73  61 69 64 2b 3d 31 0d 00  |     unsaid+=1..|
000007c0  75 09 20 20 20 20 cd 0d  00 76 0e 20 20 fd 20 61  |u.    ...v.  . a|
000007d0  24 3d 22 2a 22 0d 00 77  04 0d 00 78 0d 20 20 6e  |$="*"..w...x.  n|
000007e0  6f 75 6e 73 3d 30 0d 00  79 07 20 20 f5 0d 00 7a  |ouns=0..y.  ...z|
000007f0  0c 20 20 20 20 f3 20 61  24 0d 00 7b 13 20 20 20  |.    . a$..{.   |
00000800  20 e7 20 61 24 3c 3e 22  2a 22 20 8c 0d 00 7c 19  | . a$<>"*" ...|.|
00000810  20 20 20 20 20 20 6e 6f  75 6e 24 28 6e 6f 75 6e  |      noun$(noun|
00000820  73 29 3d 61 24 0d 00 7d  12 20 20 20 20 20 20 6e  |s)=a$..}.      n|
00000830  6f 75 6e 73 2b 3d 31 0d  00 7e 09 20 20 20 20 cd  |ouns+=1..~.    .|
00000840  0d 00 7f 0e 20 20 fd 20  61 24 3d 22 2a 22 0d 00  |....  . a$="*"..|
00000850  80 04 0d 00 81 0d 20 20  76 65 72 62 73 3d 30 0d  |......  verbs=0.|
00000860  00 82 07 20 20 f5 0d 00  83 0c 20 20 20 20 f3 20  |...  .....    . |
00000870  61 24 0d 00 84 13 20 20  20 20 e7 20 61 24 3c 3e  |a$....    . a$<>|
00000880  22 2a 22 20 8c 0d 00 85  19 20 20 20 20 20 20 76  |"*" .....      v|
00000890  65 72 62 24 28 76 65 72  62 73 29 3d 61 24 0d 00  |erb$(verbs)=a$..|
000008a0  86 12 20 20 20 20 20 20  76 65 72 62 73 2b 3d 31  |..      verbs+=1|
000008b0  0d 00 87 09 20 20 20 20  cd 0d 00 88 0e 20 20 fd  |....    .....  .|
000008c0  20 61 24 3d 22 2a 22 0d  00 89 04 0d 00 8a 14 20  | a$="*"........ |
000008d0  20 76 6f 77 65 6c 24 3d  22 61 65 69 6f 75 22 0d  | vowel$="aeiou".|
000008e0  00 8b 28 20 20 63 6f 6e  73 6f 6e 61 6e 74 24 3d  |..(  consonant$=|
000008f0  22 62 63 64 66 67 68 6a  6b 6c 6d 6e 70 71 72 73  |"bcdfghjklmnpqrs|
00000900  74 76 77 78 79 7a 22 0d  00 8c 04 0d 00 8d 24 20  |tvwxyz".......$ |
00000910  20 c8 99 20 22 4f 53 5f  52 65 61 64 4d 6f 6e 6f  | .. "OS_ReadMono|
00000920  74 6f 6e 69 63 54 69 6d  65 22 20 b8 20 61 25 0d  |tonicTime" . a%.|
00000930  00 8e 18 20 20 61 25 3d  b3 28 61 25 20 84 20 28  |...  a%=.(a% . (|
00000940  31 3c 3c 33 31 29 29 0d  00 8f 05 e1 0d 00 90 04  |1<<31)).........|
00000950  0d 00 91 04 0d 00 92 24  f4 20 77 6f 72 64 73 20  |.......$. words |
00000960  41 6d 79 20 6b 6e 6f 77  73 20 62 75 74 20 6e 65  |Amy knows but ne|
00000970  76 65 72 20 73 61 79 73  0d 00 93 04 0d 00 94 4d  |ver says.......M|
00000980  dc 20 74 68 65 2c 20 69  6e 2c 20 61 74 2c 20 6f  |. the, in, at, o|
00000990  6e 2c 20 6f 76 65 72 2c  20 6f 66 2c 20 61 6e 64  |n, over, of, and|
000009a0  2c 20 77 61 73 2c 20 61  2c 20 77 68 6f 2c 20 74  |, was, a, who, t|
000009b0  6f 2c 20 62 75 74 2c 20  73 68 65 2c 20 68 65 2c  |o, but, she, he,|
000009c0  20 62 65 2c 20 6f 76 65  72 0d 00 95 28 dc 20 6f  | be, over...(. o|
000009d0  6e 65 2c 20 62 75 74 2c  20 62 79 2c 20 69 74 2c  |ne, but, by, it,|
000009e0  20 61 73 2c 20 73 6f 2c  20 66 6f 72 2c 20 68 65  | as, so, for, he|
000009f0  72 0d 00 96 07 dc 20 2a  0d 00 97 04 0d 00 98 0d  |r..... *........|
00000a00  f4 20 22 6e 6f 75 6e 73  22 0d 00 99 04 0d 00 9a  |. "nouns".......|
00000a10  45 dc 20 6a 75 69 63 65  2c 20 6d 69 6c 6b 2c 20  |E. juice, milk, |
00000a20  63 75 64 64 6c 65 2c 20  64 61 64 64 79 2c 20 6d  |cuddle, daddy, m|
00000a30  75 6d 6d 79 2c 20 68 6f  6c 6c 79 2c 20 65 64 6e  |ummy, holly, edn|
00000a40  75 6d 2c 20 6f 6f 66 20  6f 6f 66 2c 20 70 69 64  |um, oof oof, pid|
00000a50  65 72 0d 00 9b 45 dc 20  6c 69 7a 7a 79 2c 20 70  |er...E. lizzy, p|
00000a60  69 67 2c 20 65 74 65 70  68 61 6e 74 2c 20 70 69  |ig, etephant, pi|
00000a70  70 70 79 2c 20 62 61 62  79 2c 20 63 61 72 2c 20  |ppy, baby, car, |
00000a80  74 75 62 62 69 65 73 2c  20 64 69 70 73 79 2c 20  |tubbies, dipsy, |
00000a90  6c 61 61 20 6c 61 61 0d  00 9c 07 dc 20 2a 0d 00  |laa laa..... *..|
00000aa0  9d 04 0d 00 9e 0d f4 20  22 76 65 72 62 73 22 0d  |....... "verbs".|
00000ab0  00 9f 04 0d 00 a0 4c dc  20 6d 6f 72 65 2c 20 6e  |......L. more, n|
00000ac0  75 66 66 2c 20 61 6d 79  2c 20 5f 63 6f 6d 65 73  |uff, amy, _comes|
00000ad0  2c 20 5f 61 6c 6c 20 67  6f 6e 65 2c 20 6c 6f 6f  |, _all gone, loo|
00000ae0  6b 2c 20 70 6c 65 61 73  65 2c 20 5f 73 69 63 6b  |k, please, _sick|
00000af0  2c 20 5f 72 6f 75 6e 64  79 20 72 6f 75 6e 64 0d  |, _roundy round.|
00000b00  00 a1 20 dc 20 5f 6f 66  66 2c 20 5f 6c 61 70 2c  |.. . _off, _lap,|
00000b10  20 75 68 20 6f 68 2c 20  6f 68 20 64 65 61 72 0d  | uh oh, oh dear.|
00000b20  00 a2 07 dc 20 2a 0d 00  a3 04 0d 00 a4 04 0d 00  |.... *..........|
00000b30  a5 3f f4 20 54 68 69 73  20 63 68 61 6e 67 65 73  |.?. This changes|
00000b40  20 77 6f 72 64 73 20 74  6f 20 6d 69 73 2d 70 72  | words to mis-pr|
00000b50  6f 6e 6f 75 6e 63 65 20  74 68 65 6d 20 74 68 65  |onounce them the|
00000b60  20 77 61 79 20 41 6d 79  20 64 6f 65 73 0d 00 a6  | way Amy does...|
00000b70  04 0d 00 a7 15 dd 20 f2  6d 69 73 73 70 65 61 6b  |...... .misspeak|
00000b80  28 f8 20 61 24 29 0d 00  a8 09 20 20 ea 20 61 0d  |(. a$)....  . a.|
00000b90  00 a9 11 20 20 e7 20 a9  61 24 3c 33 20 8c 20 e1  |...  . .a$<3 . .|
00000ba0  0d 00 aa 04 0d 00 ab 42  20 20 f4 20 64 72 6f 70  |.......B  . drop|
00000bb0  20 77 20 6f 72 20 68 20  61 74 20 74 68 65 20 73  | w or h at the s|
00000bc0  74 61 72 74 20 6f 66 20  61 20 77 6f 72 64 20 69  |tart of a word i|
00000bd0  66 20 74 68 65 79 20 70  72 65 63 65 65 64 20 61  |f they preceed a|
00000be0  20 76 6f 77 65 6c 0d 00  ac 42 20 20 e7 20 a9 61  | vowel...B  . .a|
00000bf0  24 3e 33 20 80 20 28 c0  61 24 2c 31 29 3d 22 77  |$>3 . (.a$,1)="w|
00000c00  22 20 84 20 c0 61 24 2c  31 29 3d 22 68 22 29 20  |" . .a$,1)="h") |
00000c10  80 20 a7 76 6f 77 65 6c  24 2c c1 61 24 2c 32 2c  |. .vowel$,.a$,2,|
00000c20  31 29 29 3c 3e 30 20 8c  0d 00 ad 11 20 20 20 20  |1))<>0 .....    |
00000c30  61 24 3d c1 61 24 2c 32  29 0d 00 ae 07 20 20 cd  |a$=.a$,2)....  .|
00000c40  0d 00 af 04 0d 00 b0 2c  20 20 f4 20 72 20 2c 20  |.......,  . r , |
00000c50  76 6f 77 65 6c 20 61 74  20 73 74 61 72 74 20 6f  |vowel at start o|
00000c60  66 20 77 6f 72 64 20 62  65 63 6f 6d 65 73 20 79  |f word becomes y|
00000c70  0d 00 b1 2b 20 20 e7 20  c0 61 24 2c 31 29 3d 22  |...+  . .a$,1)="|
00000c80  72 22 20 80 20 a7 76 6f  77 65 6c 24 2c c1 61 24  |r" . .vowel$,.a$|
00000c90  2c 32 2c 31 29 29 3c 3e  30 20 8c 0d 00 b2 15 20  |,2,1))<>0 ..... |
00000ca0  20 20 20 61 24 3d 22 79  22 2b c1 61 24 2c 32 29  |   a$="y"+.a$,2)|
00000cb0  0d 00 b3 07 20 20 cd 0d  00 b4 04 0d 00 b5 30 20  |....  ........0 |
00000cc0  20 f4 20 63 6f 6e 73 6f  6e 61 6e 74 20 6c 20 6c  | . consonant l l|
00000cd0  6f 73 65 73 20 74 68 65  20 6c 20 61 74 20 73 74  |oses the l at st|
00000ce0  61 72 74 20 6f 66 20 77  6f 72 64 0d 00 b6 2f 20  |art of word.../ |
00000cf0  20 e7 20 a7 63 6f 6e 73  6f 6e 61 6e 74 24 2c c0  | . .consonant$,.|
00000d00  61 24 2c 31 29 29 3c 3e  30 20 80 20 c1 61 24 2c  |a$,1))<>0 . .a$,|
00000d10  32 2c 31 29 3d 22 6c 22  20 8c 0d 00 b7 18 20 20  |2,1)="l" .....  |
00000d20  20 20 61 24 3d c0 61 24  2c 31 29 2b c1 61 24 2c  |  a$=.a$,1)+.a$,|
00000d30  33 29 0d 00 b8 07 20 20  cd 0d 00 b9 04 0d 00 ba  |3)....  ........|
00000d40  26 20 20 f4 20 72 2c 20  76 6f 77 65 6c 20 77 69  |&  . r, vowel wi|
00000d50  74 68 69 6e 20 77 6f 72  64 20 62 65 63 6f 6d 65  |thin word become|
00000d60  73 20 77 0d 00 bb 0b 20  20 61 20 3d 20 31 0d 00  |s w....  a = 1..|
00000d70  bc 07 20 20 f5 0d 00 bd  18 20 20 20 20 61 20 3d  |..  .....    a =|
00000d80  20 a7 61 24 2c 22 72 22  2c 61 2b 31 29 0d 00 be  | .a$,"r",a+1)...|
00000d90  0d 20 20 20 20 e7 20 61  20 8c 0d 00 bf 32 20 20  |.    . a ....2  |
00000da0  20 20 20 20 e7 20 c1 61  24 2c 61 2b 31 2c 31 29  |    . .a$,a+1,1)|
00000db0  3c 3e 22 22 20 80 20 a7  76 6f 77 65 6c 24 2c c1  |<>"" . .vowel$,.|
00000dc0  61 24 2c 61 2b 31 2c 31  29 29 20 8c 0d 00 c0 24  |a$,a+1,1)) ....$|
00000dd0  20 20 20 20 20 20 20 20  61 24 3d c0 61 24 2c 61  |        a$=.a$,a|
00000de0  2d 31 29 2b 22 77 22 2b  c1 61 24 2c 61 2b 31 29  |-1)+"w"+.a$,a+1)|
00000df0  0d 00 c1 0b 20 20 20 20  20 20 cc 0d 00 c2 10 20  |....      ..... |
00000e00  20 20 20 20 20 20 20 61  2b 3d 31 0d 00 c3 0b 20  |       a+=1.... |
00000e10  20 20 20 20 20 cd 0d 00  c4 09 20 20 20 20 cd 0d  |     .....    ..|
00000e20  00 c5 0d 20 20 fd 20 61  20 3d 20 30 0d 00 c6 04  |...  . a = 0....|
00000e30  0d 00 c7 48 20 20 f4 20  72 65 64 75 63 65 20 61  |...H  . reduce a|
00000e40  6c 6c 20 64 69 70 74 68  6f 6e 67 73 20 74 6f 20  |ll dipthongs to |
00000e50  74 68 65 20 66 69 72 73  74 20 76 6f 77 65 6c 20  |the first vowel |
00000e60  75 6e 6c 65 73 73 20 69  74 20 77 61 73 20 61 20  |unless it was a |
00000e70  72 65 70 65 61 74 65 64  0d 00 c8 2a 20 20 f4 20  |repeated...*  . |
00000e80  76 6f 77 65 6c 20 61 6e  64 20 6e 6f 74 20 61 74  |vowel and not at|
00000e90  20 74 68 65 20 65 6e 64  20 6f 66 20 61 20 77 6f  | the end of a wo|
00000ea0  72 64 0d 00 c9 04 0d 00  ca 11 20 20 e3 20 61 3d  |rd........  . a=|
00000eb0  31 20 b8 20 a9 61 24 0d  00 cb 2b 20 20 20 20 e7  |1 . .a$...+    .|
00000ec0  20 a7 76 6f 77 65 6c 24  2c c1 61 24 2c 61 2c 31  | .vowel$,.a$,a,1|
00000ed0  29 29 3c 3e 30 20 80 20  61 2b 31 3c 3e a9 61 24  |))<>0 . a+1<>.a$|
00000ee0  20 8c 0d 00 cc 24 20 20  20 20 20 20 e7 20 a7 76  | ....$      . .v|
00000ef0  6f 77 65 6c 24 2c c1 61  24 2c 61 2b 31 2c 31 29  |owel$,.a$,a+1,1)|
00000f00  29 3c 3e 30 20 8c 0d 00  cd 24 20 20 20 20 20 20  |)<>0 ....$      |
00000f10  20 20 e7 20 c1 61 24 2c  61 2c 31 29 3c 3e c1 61  |  . .a$,a,1)<>.a|
00000f20  24 2c 61 2b 31 2c 31 29  20 8c 0d 00 ce 20 20 20  |$,a+1,1) ....   |
00000f30  20 20 20 20 20 20 20 20  61 24 3d c0 61 24 2c 61  |        a$=.a$,a|
00000f40  29 2b c1 61 24 2c 61 2b  32 29 0d 00 cf 0d 20 20  |)+.a$,a+2)....  |
00000f50  20 20 20 20 20 20 cd 0d  00 d0 0b 20 20 20 20 20  |      .....     |
00000f60  20 cd 0d 00 d1 09 20 20  20 20 cd 0d 00 d2 09 20  | .....    ..... |
00000f70  20 ed 20 61 0d 00 d3 04  0d 00 d4 38 20 20 f4 20  | . a.......8  . |
00000f80  69 66 20 61 20 77 6f 72  64 20 69 73 20 6c 6f 6e  |if a word is lon|
00000f90  67 20 63 68 6f 70 20 73  6f 6d 65 20 6c 65 74 74  |g chop some lett|
00000fa0  65 72 73 20 6f 66 66 20  72 61 6e 64 6f 6d 6c 79  |ers off randomly|
00000fb0  0d 00 d5 0f 20 20 e7 20  a9 61 24 3e 36 20 8c 0d  |....  . .a$>6 ..|
00000fc0  00 d6 1c 20 20 20 20 61  24 3d c0 61 24 2c 36 2b  |...    a$=.a$,6+|
00000fd0  b3 28 a9 61 24 2d 35 29  2d 31 29 0d 00 d7 07 20  |.(.a$-5)-1).... |
00000fe0  20 cd 0d 00 d8 05 e1 0d  00 d9 04 0d 00 da 25 f4  | .............%.|
00000ff0  20 63 6f 6e 73 74 72 75  63 74 20 61 20 72 61 6e  | construct a ran|
00001000  64 6f 6d 20 41 6d 79 20  73 65 6e 74 65 6e 63 65  |dom Amy sentence|
00001010  0d 00 db 04 0d 00 dc 0b  dd 20 a4 77 61 6e 74 0d  |......... .want.|
00001020  00 dd 10 20 20 ea 20 6e  24 2c 76 24 2c 61 24 0d  |...  . n$,v$,a$.|
00001030  00 de 1a 20 20 6e 24 3d  6e 6f 75 6e 24 28 b3 28  |...  n$=noun$(.(|
00001040  6e 6f 75 6e 73 29 2d 31  29 0d 00 df 1a 20 20 76  |nouns)-1)....  v|
00001050  24 3d 76 65 72 62 24 28  b3 28 76 65 72 62 73 29  |$=verb$(.(verbs)|
00001060  2d 31 29 0d 00 e0 14 20  20 e7 20 c0 76 24 2c 31  |-1)....  . .v$,1|
00001070  29 3d 22 5f 22 20 8c 0d  00 e1 18 20 20 20 20 61  |)="_" .....    a|
00001080  24 3d 6e 24 2b 22 20 22  2b c1 76 24 2c 32 29 0d  |$=n$+" "+.v$,2).|
00001090  00 e2 07 20 20 cc 0d 00  e3 14 20 20 20 20 61 24  |...  .....    a$|
000010a0  3d 76 24 2b 22 20 22 2b  6e 24 0d 00 e4 07 20 20  |=v$+" "+n$....  |
000010b0  cd 0d 00 e5 1f 20 20 e7  20 b3 28 31 29 3c 30 2e  |.....  . .(1)<0.|
000010c0  35 20 8c 20 61 24 3d 61  24 2b 22 20 22 2b 61 24  |5 . a$=a$+" "+a$|
000010d0  0d 00 e6 07 3d 61 24 0d  ff                       |....=a$..|
000010d9