home *** CD-ROM | disk | FTP | other *** search
/ Compute! Gazette 1994 November / 1994-11b.d64 / find-a-word (.txt) < prev    next >
Encoding:
Commodore BASIC  |  1994-01-01  |  13.2 KB  |  376 lines

  1. 10 rem: copyright 1994 compute publications intl ltd - all rights reserved
  2. 20 clr:tp$="123456789012345":tp$=tp$+tp$:rl=30
  3. 30 l=peek(46)*256+peek(45)+2:hb=peek(l+2):lb=peek(l+1):tp=hb*256+lb
  4. 40 bc=53280:sc=53281:cc=646:sb=53265:vp=781:hp=782:pl=65520:sd=54272:dv=8
  5. 50 gosub2580
  6. 60 dimm$(20,20),w$(20),lx(20),ly(20),tw(20),h1(12),h2(12),l1(12),l2(12),lw(20)
  7. 70 dimcv(6),cd$(6),ch$(6),pw$(11),pt$(11),dp$(9),pr$(9)
  8. 80 nu$=" 1 2 3 4 5 6 7 8 91011121314151617181920"
  9. 90 pr$(0)="4":pr$(1)="27,64":pr$(2)="27,69":pr$(3)="27,77":pr$(4)="27,87,1"
  10. 100 pr$(5)="12"
  11. 110 sz=20:forr=1to8:readxd(r),yd(r):next:forr=828to912:readd:poker,d:next
  12. 120 forr=1to12:readh1(r):readl1(r):readh2(r):readl2(r):next
  13. 130 forr=0to34:readd:poke679+r,d:next
  14. 140 forr=0to6:readcv(r):cd$(r)=chr$(cv(r)):next:forr=0to6:readch$(r):next
  15. 150 poke826,24:poke827,96:fort=1to2000:next
  16. 160 :
  17. 170 print"[147]":pokesc,15:co=6:v=9:mg=2:wd=34:ht=5:gosub2540
  18. 180 pokevp,11:pokehp,4:syspl
  19. 190 print"[144]do you need playing instructions":print:printtab(17)"(y/n)[144]"
  20. 200 getd$:ifd$="n"then370
  21. 210 ifd$<>"y"then200
  22. 220 print"[147]":pokevp,1:pokehp,9:syspl:print"[162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]"
  23. 230 printtab(9)" playing instructions ":printtab(9)"[162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][144]"
  24. 240 print" you begin by selecting the number of"
  25. 250 print" words & the actual words to be used"
  26. 260 print" the computer then places the words in"
  27. 270 print" a numbered matrix for screen play"
  28. 280 print" all words will be straight lines; up"
  29. 290 print" down, forward, backward, & diagonally"
  30. 300 print" when prompted with row [144] and column[144]"
  31. 310 print" enter the row and column number of"
  32. 320 print" the first letter of each word found"
  33. 330 print" to win you must find all words in the"
  34. 340 print" allotted time you select"
  35. 350 printtab(14)"good luck!!!":printtab(7)"[144]press any key to continue"
  36. 360 getd$:ifd$=""then360
  37. 370 print"[147]":pokesc,15:co=6:v=1:mg=1:wd=36:ht=21:gosub2540
  38. 380 print""tab(17)"[144]select":printtab(8)"desired number of words"
  39. 390 printtab(7)"minimum 10 -/- maximum 20"
  40. 400 print"[144]10 to 15 makes for the best play"
  41. 410 co=2:v=8:mg=17:wd=4:ht=1:gosub2540:pokecc,0
  42. 420 v=9:h=19:le=2:m=0:cl=0:gosub2670:wt=val(tp$)
  43. 430 ifwt<10orwt>20thenpokevp,9:pokehp,19:syspl:print"  ":goto420
  44. 440 printtab(10)"you have selected"wt:
  45. 450 printtab(9)"is this correct? (y/n)"
  46. 460 print:printtab(7)"[144]for an interesting game and"
  47. 470 printtab(9)"an additional challenge":
  48. 480 printtab(5)"enter numbers instead of words"
  49. 490 getd$:ifd$="n"then370
  50. 500 ifd$<>"y"then490
  51. 510 print"[147]":co=6:v=2:mg=5:wd=28:ht=3:gosub2540
  52. 520 print"":printtab(9)"[144]please enter words now"
  53. 530 printtab(8)"minimum length 5[144] letters"
  54. 540 printtab(8)"[144]maximum length 15[144] letters"
  55. 550 poke198,0:co=2:v=7:mg=10:wd=18:ht=1:gosub2540:fori=1towt:w$(i)=""
  56. 560 pokecc,0:pokevp,8:pokehp,11:syspl:print"                  "
  57. 570 v=8:h=12:le=15:m=1:cl=0:gosub2670:iflen(tp$)<5then560
  58. 580 w$(i)=tp$:forj=0toi-1:ifw$(i)=w$(j)thenw$(i)="":goto560
  59. 590 next:x=10:ifi=>10thenx=9
  60. 600 ifwt>10then620
  61. 610 pokevp,10+i:pokehp,x:syspl:printi"[157]. "w$(i):goto650
  62. 620 ifi>10then640
  63. 630 pokevp,10+i:pokehp,x-9:syspl:printi"[157]. "w$(i):goto650
  64. 640 pokevp,i:pokehp,10+x:syspl:printi"[157]. "w$(i)
  65. 650 next:pokevp,22:pokehp,8:syspl:print"[144]is this correct? (y/n)[144]"
  66. 660 getd$:ifd$="n"then510
  67. 670 ifd$<>"y"then660
  68. 680 :
  69. 690 print"[147]":pokesc,15:co=6:v=9:mg=2:wd=34:ht=5:gosub2540
  70. 700 pokevp,11:pokehp,4:syspl
  71. 710 print"[144]do you wish to print the matrix?":print:printtab(17)"(y/n)":pr=0
  72. 720 getd$:ifd$="y"thenpr=1:ta$="00:00":goto750
  73. 730 ifd$<>"n"then720
  74. 740 gosub2270
  75. 750 print"[147]":pokesc,14:co=1:v=10:mg=1:wd=36:ht=3:gosub2540
  76. 760 pokevp,12:pokehp,2:syspl:print"building matrix...one moment please."
  77. 770 fori=1to1500:next:pokesb,peek(sb)and239
  78. 780 print"[147]":co=0:v=2:mg=2:wd=20:ht=20:gosub2540
  79. 790 pokevp,0:pokehp,3:syspl:print"         11111111112"
  80. 800 print"   12345678901234567890":print""
  81. 810 fori=1to39step2:printmid$(nu$,i,2):next:print
  82. 820 gosub2820:gp=wt
  83. 830 gp=int(gp/2):ifgp=0then900
  84. 840 f=0
  85. 850 form=1to(wt-gp):iflen(w$(m))>=len(w$(m+gp))then870
  86. 860 sw$=w$(m):w$(m)=w$(m+gp):w$(m+gp)=sw$:f=1
  87. 870 next:iffthen840
  88. 880 goto830
  89. 890 :
  90. 900 fori=1tosz:forj=1tosz:m$(i,j)=" ":next:next:forr=1towt:lw(r)=0:next
  91. 910 fori=1towt:d=int(8*rnd(1))+1:le=len(w$(i))
  92. 920 hz=int(sz*rnd(1))+1:vt=int(sz*rnd(1))+1
  93. 930 ifhz+le*xd(d)<0orhz+le*xd(d)>szorvt+le*yd(d)<0orvt+le*yd(d)>szthen920
  94. 940 forx=0tole-1:t$=mid$(w$(i),x+1,1)
  95. 950 ifm$(hz+x*xd(d),vt+x*yd(d))<>" "andt$<>m$(hz+x*xd(d),vt+x*yd(d))then920
  96. 960 next:forx=0tole-1
  97. 970 m$(hz+x*xd(d),vt+x*yd(d))=mid$(w$(i),x+1,1):next
  98. 980 lx(i)=hz:ly(i)=vt:tw(i)=d
  99. 990 pokevp,2+i:pokehp,24:syspl:printw$(i):next
  100. 1000 fori=1to20:forj=1to20
  101. 1010 ifm$(i,j)=" "thenm$(i,j)=mid$(w$(wt*rnd(1)+1),5*rnd(1)+1,1)
  102. 1020 pokevp,i+2:pokehp,j+2:syspl:printm$(i,j):next:next:pokesc,15:pokecc,0
  103. 1030 :
  104. 1040 ifprthen1570
  105. 1050 ifsp=1thengosub2820
  106. 1060 pokesb,peek(sb)or16
  107. 1070 gosub2860:po=0:ti$="000000":ge=0:sys828
  108. 1080 sys848:ifti$=>gt$then1360
  109. 1090 gosub2850:print"row    [157][157][157][157][157][157]":v=1:h=32:le=2:m=0:cl=1:gosub2670
  110. 1100 r=val(tp$):ifr=99then1390
  111. 1110 ifr<1orr>20then1080
  112. 1120 gosub2860
  113. 1130 sys848:ifti$=>gt$then1360
  114. 1140 gosub2850:print"col    [157][157][157][157][157][157]":gosub2670
  115. 1150 c=val(tp$):ifc<1orc>20then1130
  116. 1160 gosub2860
  117. 1170 sys848:ifti$=>gt$then1360
  118. 1180 cg=0:forj=1towt:ifr=lx(j)thenifc=ly(j)thencg=1:xf=j:lw(j)=1:sys848
  119. 1190 next:ifcg=1thengosub2800:goto1220
  120. 1200 gosub2850:print"wrong":sys848:fork=1to500:sys848:next
  121. 1210 gosub2860:goto1080
  122. 1220 forj=0tolen(w$(xf))-1:xc=(3+lx(xf)+j*xd(tw(xf))):yc=(2+ly(xf)+j*yd(tw(xf)))
  123. 1230 pokevp,xc-1:pokehp,yc:syspl:print""m$(xc-3,yc-2)"[144]":next
  124. 1240 pokevp,2+xf:pokehp,24:syspl:print""w$(xf)"[144]"
  125. 1250 wc=wc+1:ifwc=wtthen1270
  126. 1260 goto1080
  127. 1270 ifge<>0then1360
  128. 1280 fort=1to1000:next:print"[147]":pokesc,14:pokecc,1
  129. 1290 co=1:v=7:mg=2:wd=34:ht=9:gosub2540
  130. 1300 pokevp,9:pokehp,4:syspl:print"congratulations you're a winner!"
  131. 1310 pokesd+5,85:pokesd+6,85:pokesd+12,85:pokesd+13,85:pokesd+24,15
  132. 1320 pokesd+4,33:pokesd+11,17:forx=1to12:pokesd,l1(x):pokesd+1,h1(x)
  133. 1330 pokesd+7,l2(x):pokesd+8,h2(x):ifh1(x)=50thenfort=1to200:next
  134. 1340 ifx=6thenfort=1to1000:next
  135. 1350 fort=1to200:next:next:ford=0to24:pokesd+d,0:next:goto1470
  136. 1360 gosub2850:print"time's up[144]"
  137. 1370 forj=sdtosd+23::pokej,0:next:pokesd+24,15:pokesd,169:pokesd+6,240
  138. 1380 pokesd+1,6:pokesd+4,17:ford=0to1499:next:pokesd+4,16
  139. 1390 fori=1towt
  140. 1400 forj=0tolen(w$(i))-1:xc=(3+lx(i)+j*xd(tw(i))):yc=(2+ly(i)+j*yd(tw(i)))
  141. 1410 iflw(i)=0thenpokevp,xc-1:pokehp,yc:syspl:print""m$(xc-3,yc-2)
  142. 1420 next:next
  143. 1430 pokevp,24:pokehp,0:syspl:print"       [144]press any key to continue       ";
  144. 1440 poke198,0:wait198,1:poke198,0:print"[147]":pokesc,14:pokecc,1
  145. 1450 co=1:v=8:mg=2:wd=34:ht=7:gosub2540
  146. 1460 pokevp,9:pokehp,5:syspl:print"sorry...better luck next time!
  147. 1470 [151]vp,11:[151]hp,5:[158]pl:[153]"would you like to play again?"
  148. 1480 [153][163]17)"(y/n)"
  149. 1490 [161]d$:[139]d$[178]"n"[167][158]64738
  150. 1500 [139]d$[178]"y"[167]wc[178]0:[137]1520
  151. 1510 [137]1490
  152. 1520 [153]:[153][163]10)"use the same words?":[153][163]17)"(y/n)
  153. 1530 getd$:ifd$="y"then740
  154. 1540 ifd$="n"then370
  155. 1550 goto1530
  156. 1560 :
  157. 1570 gosub2880
  158. 1580 print"[147]":pokesc,14:pokecc,1:pokesb,peek(sb)or16:pr=0
  159. 1590 co=1:v=6:mg=5:wd=28:ht=13:gosub2540:
  160. 1600 pokesc,14:pokevp,8:pokehp,14:syspl:print"do you want:"
  161. 1610 printtab(7)"1. use generic printer?"
  162. 1620 printtab(7)"2. print normal width?"
  163. 1630 printtab(7)"3. print expanded width?"
  164. 1640 printtab(7)"4. modify printer driver?"
  165. 1650 printtab(7)"5. return to beginning?":poke198,0
  166. 1660 getd$:ifd$<"1"ord$>"5"then1660
  167. 1670 pf=val(d$):onpfgoto1830,1680,1680,2910,170
  168. 1680 open15,8,15,"i0:":close15:gosub3440:ifflthen1580
  169. 1690 sys57812"wpd.*",8,1:poke780,0:poke781,1:poke782,8:sys65493
  170. 1700 gosub3460:ifflthen1580
  171. 1710 ife1<>62then1760
  172. 1720 print"[147]":sys826:v=8:mg=4:wd=30:ht=7:gosub2540
  173. 1730 pokevp,10:pokehp,6:syspl:print"no printer driver was found"
  174. 1740 printtab(12)"press any key to":printtab(6)"to return to the print menu"
  175. 1750 poke198,0:wait198,1:goto1580
  176. 1760 sys57812"wpd.*",8,1:poke780,0:poke781,1:poke782,8:sys65493
  177. 1770 ifflthen1580
  178. 1780 forr=0to6:pd$(r)=chr$(peek(960+r)):next:fori=0to6:pw$(i)="":next
  179. 1790 r=r+1:fori=0to6:tp$=""
  180. 1800 ck=peek(960+r):ifck=255thenr=r+1:next:goto1830
  181. 1810 ifck=44thenr=r+1:next
  182. 1820 pw$(i)=pw$(i)+chr$(ck):r=r+1:goto1800
  183. 1830 print"[147]":pokesc,14:co=1:v=8:mg=5:wd=28:ht=7:gosub2540
  184. 1840 pokevp,10:pokehp,7:syspl
  185. 1850 print"please ready your printer"
  186. 1860 printtab(9)"and press 'p' to print"
  187. 1870 printtab(12)"or 'a' to abort"
  188. 1880 getd$:ifd$="a"then2150
  189. 1890 ifd$<>"p"then1880
  190. 1900 print"[147]":co=1:v=10:mg=14:wd=10:ht=3:gosub2540
  191. 1910 pokevp,12:pokehp,16:syspl:print"printing"
  192. 1920 gosub3560:ifflthen1830
  193. 1930 sp$="                       ":l(1)=11:l(2)=19:l(3)=1
  194. 1940 ifpf>1then1960
  195. 1950 forr=1to6:pt$(r)=" ":next:sa=0:tf=35:pe$="":ff$="":goto1970
  196. 1960 sa=asc(pw$(0)):pe$=pw$(1)+pw$(2):forr=1to6:pt$(r)=pd$(r):next:ff$=pw$(5)
  197. 1970 sp$=left$(sp$,l(pf)):f$=" "
  198. 1980 ifpf=2thenw=40:tf=42:pe$=pe$+pw$(3):
  199. 1990 ifpf=3thenw=20:tf=15:pe$=pe$+pw$(4):f$=""
  200. 2000 open4,4,sa:print#4,pe$
  201. 2010 print#4,""tab(tf)"find-a-word":print#4," "
  202. 2020 print#4,sp$pt$(1);:forr=1tow:print#4,pt$(2);:next:print#4,pt$(3)
  203. 2030 fori=1to20:print#4,sp$pt$(4);:forj=1to20:print#4,m$(i,j)f$;:next
  204. 2040 print#4,pt$(4)" "w$(i):next
  205. 2050 print#4,sp$pt$(5);:forr=1tow:print#4,pt$(2);:next:print#4,pt$(6)
  206. 2060 print#4:print#4,""tab(tf-1)"instructions":print#4
  207. 2070 print#4,""tab(tf-14)"all words are in straight lines. they"
  208. 2080 print#4,""tab(tf-14)"may be placed forward, backward, up,"
  209. 2090 print#4,""tab(tf-14)"down or diagonally. they may also"
  210. 2100 print#4,""tab(tf-14)"cross or overlap each other.":print#4
  211. 2110 print#4,""tab(tf-14)"when a word is found it should be"
  212. 2120 print#4,""tab(tf-14)"circled or marked out and crossed"
  213. 2130 print#4,""tab(tf-14)"off the list. good luck!!"
  214. 2140 print#4,ff$:close4
  215. 2150 print"[147]":co=1:v=6:mg=3:wd=32:ht=13:gosub2540
  216. 2160 pokevp,8:pokehp,12:syspl
  217. 2170 print"do you want to:":print"1. print another copy?"
  218. 2180 print"2. screen play current game?"
  219. 2190 print"3. new matrix with same words?"
  220. 2200 print"4. new matrix with new words?"
  221. 2210 print"5. quit the program?"
  222. 2220 getd$:ifd$<"1"ord$>"5"then2220
  223. 2230 d=val(d$):ondgoto1580,2250,690,370
  224. 2240 sys64738
  225. 2250 print"[147]":fort=1to500:next:gosub2270:pokesb,peek(sb)and239:pokecc,0
  226. 2260 gosub2890:pokesc,15:sp=1:goto1040
  227. 2270 print"[147][144]":pokesc,15:pokevp,2:pokehp,1:syspl
  228. 2280 print"playing time is determined by the"
  229. 2290 print" number of words and the amount of time"
  230. 2300 print" allowed for each word":print
  231. 2310 print" i.e. 15[144] words and 1[144] minute allows"
  232. 2320 print" 15[144] minutes time to find all words"
  233. 2330 print" if all words are not found when time"
  234. 2340 print" runs out, the computer will locate"
  235. 2350 print" the remaining words":print:printtab(13)"please select:"
  236. 2360 print"   1.  [144]novice - 2 minutes per word"
  237. 2370 print"   2.  [144]master - 1.5 minutes per word"
  238. 2380 print"   3.  [144]expert - 1 minute per word"
  239. 2390 print"   4.  [144]genius - 30 seconds per word"
  240. 2400 getd$:ifd$<"1"ord$>"4"then2400
  241. 2410 mp=30*(5-val(d$))
  242. 2420 tt=wt*mp:tm=int(tt/60):se=tm*60:ts=tt-se:tm$=str$(tm):ts$=str$(ts)
  243. 2430 iflen(tm$)=2thentm$="0"+right$(tm$,1)
  244. 2440 iflen(tm$)=3thentm$=mid$(tm$,2,2)
  245. 2450 iflen(ts$)=2thents$="0"+right$(ts$,1)
  246. 2460 iflen(ts$)=3thents$=mid$(ts$,2,2)
  247. 2470 gt$="00"+tm$+ts$:ta$=tm$+":"+ts$
  248. 2480 printtab(10)"[144]you have selected "d$
  249. 2490 printtab(9)"[144]is this correct? (y/n)[144]"
  250. 2500 getd$:ifd$="n"then2270
  251. 2510 ifd$<>"y"then2500
  252. 2520 fort=1to500:next:return
  253. 2530 :
  254. 2540 pokecc,co:pokevp,v:pokehp,mg:syspl
  255. 2550 print"[176]";:forr=1towd:print"[192]";:next:print"[174]"
  256. 2560 forr=1toht:printtab(mg)"[221]"spc(wd)"[221]":next
  257. 2570 printtab(mg)"[173]";:forr=1towd:print"[192]";:next:print"[189]":return
  258. 2580 print"[147]"chr$(142)chr$(8):pokesb,peek(sb)and239:pokebc,14:pokesc,15
  259. 2590 co=2:v=1:mg=6:wd=26:ht=21:gosub2540:
  260. 2600 pokevp,2:pokehp,7:syspl:print"[152]";
  261. 2610 fori=1to21:printtab(7);:forj=1to26:fx=int(rnd(1)*26)+65
  262. 2620 printchr$(fx);:next:print"":next
  263. 2630 pokevp,7:pokehp,11:syspl:print"[144]find-a-word":printtab(19)"b[157][157]y"
  264. 2640 printtab(20)"r. markland"
  265. 2650 pokesb,peek(sb)or16:return
  266. 2660 :
  267. 2670 pokevp,v:pokehp,h:syspl
  268. 2680 poke204,0:poke198,0:sl=0:pokel+1,lb:pokel+2,hb
  269. 2690 ifclthensys848:ifti$=>gt$thenki$=chr$(13):goto2710
  270. 2700 poke647,peek(cc):getki$:ifki$=""then2690
  271. 2710 ifki$=chr$(13)thenprint" ":pokel,sl:poke204,1:return
  272. 2720 ifki$=chr$(20)andsl>0then2770
  273. 2730 ifm=1andki$=>chr$(65)andki$=<chr$(90)then2780
  274. 2740 ifki$=>"0"andki$=<"9"then2780
  275. 2750 ifm=2andki$=","then2780
  276. 2760 goto2690
  277. 2770 sl=sl-1:poke647,peek(sc):print" [157][157] [157]";:goto2690
  278. 2780 ifsl=(le)then2690
  279. 2790 poketp+sl,asc(ki$):sl=sl+1:printki$;:goto2690
  280. 2800 forj=sdtosd+23:pokej,0:next:pokesd+5,11:pokesd+24,15:pokesd+1,136
  281. 2810 pokesd+4,17:fort=0to999:next:pokesd+4,16:return
  282. 2820 sp=0:pokevp,24:pokehp,0:syspl
  283. 2830 print"time allowed "ta$" / elapsed time[144] 00:00";:return
  284. 2840 :
  285. 2850 pokevp,1:pokehp,27:syspl:return
  286. 2860 gosub2850:print"          ":return
  287. 2870 :
  288. 2880 poke684,4:poke692,192:sys679:poke684,216:poke692,196:sys679:return
  289. 2890 poke684,192:poke692,4:sys679:poke684,196:poke692,216:sys679:return
  290. 2900 :
  291. 2910 print"[147]":pokesc,15:printtab(8)"[144]from your printer manual:":m=2:le=3
  292. 2920 forr=1to6:print:print"  enter the value = chr$(";right$(str$(cv(r)),3);
  293. 2930 print"): "cd$(r)"  [144]"ch$(r)"
  294. 2940 [151]vp,[194](214)[171]1:[151]hp,34:[158]pl:[141]2680
  295. 2950 [139]tp$[178]""[167]2970
  296. 2960 ch$(r)[178]tp$
  297. 2970 [151]vp,[194](214)[171]1:[151]hp,34:[158]pl:[153]ch$(r)"  ":[130]
  298. 2980 [153]:[153][163]7)"please check your entries"
  299. 2990 [153][163]4)"(c) continue -/- (s) start over"
  300. 3000 [161]d$:[139]d$[178]"s"[167]2910
  301. 3010 [139]d$[179][177]"c"[167]3000
  302. 3020 pt$(0)[178]" transparent/with line feed  = stop"
  303. 3030 pt$(1)[178]" initialize printer          = stop"
  304. 3040 pt$(2)[178]" set bold printing           = stop"
  305. 3050 pt$(3)[178]" set elite spacing-12 cpi    = stop"
  306. 3060 pt$(4)[178]" set expanded spacing-5 cpi  = stop"
  307. 3070 pt$(5)[178]" perform form feed           = stop"
  308. 3080 [153]"loadstop     enter your interface code to:":m[178]2:le[178]8
  309. 3090 [153]:[153]pt$(0)pr$(0);
  310. 3100 [151]vp,[194](214):[151]hp,31:[158]pl:[141]2680:[139]tp$[178]""[167]3120
  311. 3110 pr$(0)[178]tp$
  312. 3120 [151]vp,[194](214)[171]1:[151]hp,31:[158]pl:[153]pr$(0)" "
  313. 3130 [153]:[153][163]6)"stopenter your printer code to:"
  314. 3140 [129]r[178]1[164]5:[153]:[153]pt$(r)pr$(r);
  315. 3150 [151]vp,[194](214):[151]hp,31:[158]pl:[141]2680:[139]tp$[178]""[167]3170
  316. 3160 pr$(r)[178]tp$:[130]
  317. 3170 [151]vp,[194](214)[171]1:[151]hp,31:[158]pl:[153]pr$(r)" ":[130]
  318. 3180 [153]:[153][163]7)"please check your entries"
  319. 3190 [153][163]4)"(c) continue -/- (s) start over"
  320. 3200 [161]d$:[139]d$[178]"s"[167]3080
  321. 3210 [139]d$[179][177]"c"[167]3200
  322. 3220 pd$[178][199](192):pd$[178]pd$[170][199](3):[129]r[178]0[164]6:pd$[178]pd$[170][199]([197](ch$(r))):[130]
  323. 3230 [129]i[178]0[164]6:tp$[178]"":pd$[178]pd$[170]","
  324. 3240 [129]j[178]1[164][195](pr$(i)):dt$[178][202](pr$(i),j,1)
  325. 3250 [139]dt$[178]","[167]3270
  326. 3260 tp$[178]tp$[170]dt$:[130]
  327. 3270 pd$[178]pd$[170][199]([197](tp$)):tp$[178]"":[130]
  328. 3280 pd$[178]pd$[170][199](255)
  329. 3290 [153]"load":co[178]2:v[178]9:mg[178]3:wd[178]32:ht[178]5:[141]2540:[151]vp,11:[151]hp,5:[158]pl
  330. 3300 [153]"enter the name of your printer"
  331. 3310 [141]3440:[139]fl[167]3290
  332. 3320 [159]15,8,15,"i0:":[160]15:[141]3440:[139]fl[167]3290
  333. 3330 [158]57812na$,8,1:[151]780,0:[151]781,1:[151]782,8:[158]65493:[158]826
  334. 3340 [141]3460:[139]fl[167]3290
  335. 3350 [139]e1[178]62[167]3420
  336. 3360 [153]"load":co[178]6:v[178]8:mg[178]6:wd[178]26:ht[178]7:[141]2540:[151]vp,9:[151]hp,0:[158]pl
  337. 3370 ms$[178]na$[170]" already exists":[153][163](40[171]([195](ms$)))[173]2)"stop"ms$
  338. 3380 [153][163]13)"overwrite it?":[153][163]16)"y -/- n":[151]198,0
  339. 3390 [161]d$:[139]d$[178]"n"[167]1580
  340. 3400 [139]d$[179][177]"y"[167]3390
  341. 3410 [159]15,8,15,"s0:"[170]na$:[160]15:[141]3440:[139]fl[167]3360
  342. 3420 [159]8,8,8,"0:"[170]na$[170]",p,w":[152]8,pd$:[141]3460:[139]fl[167]3290
  343. 3430 [153]"load":[151]sc,14:[137]1580
  344. 3440 fl[178]0:[151]144,0:[151]780,dv:[158]65457:s[178]st:[158]65454:s[178]s[176]st:[139]s[178]0[167]3460
  345. 3450 er$[178]"device not present":fl[178]1:[137]3490
  346. 3460 [159]15,8,15:[132]15,e1,e$
  347. 3470 [139]e1[178]0[176]e1[178]62[176]e1[178]63[176]e1[178]73[167][160]8:[160]15:fl[178]0:[142]
  348. 3480 [160]8:[160]15:fl[178]1:er$[178]e$
  349. 3490 [153]"load":[151]sc,15:co[178]6:v[178]7:mg[178]3:wd[178]32:ht[178]9:[141]2540
  350. 3500 [151]vp,9:[151]hp,7:[158]pl
  351. 3510 [153]"* * * hardware error * * *"
  352. 3520 [153]:[153][163](40[171]([195](er$)))[173]2)"stop"er$
  353. 3530 [139]dv[178]8[167][153][163]11)"check disk & drive"
  354. 3540 [139]dv[178]4[167][153][163]13)"check printer":dv[178]8
  355. 3550 [153][163]5)"then press any key to continue";:[151]198,0:[146]198,1:[142]
  356. 3560 fl[178]0:[151]144,0:[151]780,4:[158]65457:s[178]st:[158]65454:s[178]s[176]st
  357. 3570 [139]s[179][177][171]128[167][142]
  358. 3580 :dv[178]4:[137]3450
  359. 3590 :
  360. 3600 [131] 0,-1,0,1,-1,0,1,0,-1,-1,1,1,1,-1,-1,1
  361. 3610 :
  362. 3620 [131] 169,0,141,11,220,141,10,220,141,9,220,141,8,220,41,15,24,105,48,96
  363. 3630 [131] 173,10,220,32,74,3,141,227,7,173,9,220,32,74,3,141,230,7,173,10,220
  364. 3640 [131] 32,140,3,41,7,32,76,3,141,226,7,173,9,220,32,140,3,41,7,32,76,3,141
  365. 3650 [131] 229,7,169,32,141,231,7,169,58,141,228,7,173,8,220,96,74,74,74,74,96
  366. 3660 :
  367. 3670 [131] 25,30,18,209,33,135,25,30,42,62,31,165,50,60,37,162
  368. 3680 [131] 42,62,31,165,50,60,37,162,25,30,18,209,33,135,25,30
  369. 3690 [131] 42,62,31,165,50,60,37,162,42,62,31,165,50,60,37,162
  370. 3700 :
  371. 3710 [131] 169,0,133,251,169,4,133,252,169,0,133,253,169,192,133,254,162,4
  372. 3720 [131] 160,0,177,251,145,253,200,208,249,230,252,230,254,202,208,242,96
  373. 3730 :
  374. 3740 [131] 32,176,99,174,98,173,189
  375. 3750 [131] 32,218,196,191,179,192,217
  376.