home *** CD-ROM | disk | FTP | other *** search
- 10 gosub60100:poke53281,.
- 110 print"[147] [195] [207] [205] [208] [193] [210] [197] [208] [199] [205] [146]"
- 120 print"[154][197]nter first [208][199][205] file name:":print"->";:le=16:gosub60500:f1$=b$
- 130 print"[197]nter second [208][199][205] file name:":print"->";:gosub60500:f2$=b$
- 135 r$=chr$(143):print" ([211][154])creen or ([208][154])rinter"
- 136 getv$:ifv$<>"s"andv$<>"p"then136
- 140 print"[147] -- [208]ress [209] [154]to quit --"
- 150 print" [208]ress any other key to toggle pause."
- 165 open2,8,2,f1$+",p,r":open1,8,15
- 170 input#1,e,e$:printe,e$,f1$:ife>0then700
- 180 open5,8,5,f2$+",p,r":input#1,e,e$:printe,e$,f2$:ife>0then700
- 190 gosub660:print:print"[205]odifications to ";f2$;"[154]:":print:gosub680
- 200 get#2,a$,a$:get#5,a$,a$:gosub420
- 210 l1$=""
- 220 get#2,a$:ifst>0then e2=1:gosub430:goto280
- 230 ifa$=""thenrf=0:goto280
- 240 ifa$=" "ora$=":"then220
- 250 ifrfthen220
- 260 l1$=l1$+a$:ifa$=r$then rf=1
- 270 goto220
- 280 l2$=""
- 290 get#5,a$:ifst>0then e5=1:gosub430:goto350
- 295 print"[195]hecking line"n1:print"[145]";
- 300 ifa$=""thenrf=0:goto350
- 310 ifa$=" "ora$=":"then290
- 320 ifrfthen290
- 330 l2$=l2$+a$:ifa$=r$then rf=1
- 340 goto290
- 350 ifl1$<>l2$then gosub660:print"[159]"n2;"[195]hanged":gosub680:c=c+1
- 360 gosub420
- 370 getb$:ifb$=""then210
- 380 ifb$="q"then700
- 390 geta$:ifa$=""then390
- 400 goto210
- 410 rem---------------------------------
- 420 gosub470:gosub500:ife2=1ande5=1then700
- 430 if n1<n2 then gosub540:goto430
- 440 if n2<n1 then gosub600:goto430
- 450 return
- 460 rem---------------------------------
- 470 get#2,a$,b$,l$,h$:n1=asc(l$+chr$(0))+(asc(h$+chr$(0))*256)
- 480 if(a$=""andb$="")orst>0thenn1=63999
- 490 return
- 500 get#5,a$,b$,l$,h$:n2=asc(l$+chr$(0))+(asc(h$+chr$(0))*256)
- 510 if(a$=""andb$="")orst>0thenn2=63999
- 520 return
- 530 rem---------------------------------
- 540 gosub660:print"[159]"n1;"[196]eleted[154]":gosub680:c=c+1
- 550 get#2,a$:ifst>0then580
- 560 ifa$=""thengosub470:return
- 570 goto550
- 580 if e2 then end
- 590 n1=63999:return
- 600 gosub660:print"[159]"n2;"[201]nserted[154]":gosub680:c=c+1
- 610 get#5,a$:ifst>0then640
- 620 ifa$=""thengosub500:return
- 630 goto610
- 640 if e5 then end
- 650 n2=63999:return
- 660 ifv$="p"thenopen4,4,7:cmd4
- 670 return
- 680 ifv$="p"thenprint#4:close4
- 690 return
- 700 print:print""f2$;" [154]had";c;"[154]modifications.":close5:close2:close1
- 800 print" [215]ould you like to do another?"
- 810 a=peek(203):ifa<>25anda<>39then810
- 820 ifa=25thenrun110
- 830 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
- 840 ifer<>63thenend
- 850 load"hello connect",8
- 60100 poke53280,2:poke53281,1
- 60110 print"[147][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 60120 fora=1to23:print"[221]"spc(38)"[221]";:next
- 60130 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][157][148][192]"
- 60135 fora=217to242:pokea,peek(a)or128:next
- 60140 print" [204][207][193][196][211][212][193][210] [208]resents:"
- 60150 print" "
- 60160 print" [195][207][205][208][193][210][197] [152] "
- 60165 print" [152] "
- 60170 print" by [205]ichael [196]. [204]eidel [152] "
- 60175 print" [152] "
- 60180 print" ([195])opyright 1987 [152] "
- 60185 print" [152] "
- 60195 print" [152] "
- 60200 print" [208]ress [211][208][193][195][197] to continue"
- 60210 ifpeek(203)<>60then60210
- 60220 return
- 60500 b$="":print"[164]";:poke198,.:fora=1tole+1
- 60510 geta$:ifa$=""then60510
- 60520 ifa$<>chr$(13)then60530
- 60522 fori=1tolen(b$):ifleft$(b$,1)=" "thenb$=right$(b$,len(b$)-1)
- 60523 next
- 60525 print"[157] [154]":return
- 60530 ifa$=chr$(20)anda>1thenprint"[157][157] [157][157][164]";:a=a-1:b$=left$(b$,a-1):goto60510
- 60535 if(a=le+1)then60510
- 60540 if(a$>=" ")and(a$<="[218]")then60560
- 60550 goto60510
- 60560 print"[157]"a$;:poke212,.:print"[164]";:b$=b$+a$:next
-