home *** CD-ROM | disk | FTP | other *** search
/ 64'er Special 24 / 64er_Magazin_Sonderheft_24_19xx_Markt__Technik_de_Side_B.d64 / texto-fox (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  848b  |  37 lines

  1. 100 rem       texto-fox
  2. 110 rem
  3. 120 rem  01.03.87  by p.engels
  4. 130 rem  ---------------------
  5. 140 rem
  6. 150 printchr$(14)"[147][212]extomat -> [208]rint[198]ox"chr$(13)"   [212]extkonverter"
  7. 160 input"[209]uell-[212]ext:";qf$:qf$=qf$+",p,r"
  8. 170 input" [218]iel-[212]ext:";zf$:zf$=zf$+",p,w"
  9. 180 open1,8,3,qf$
  10. 190 open2,8,4,zf$
  11. 200 print#2,chr$(84);:rem text-kennung
  12. 210 :
  13. 220 get#1,a$:ifa$=""thena$=chr$(0)
  14. 230 a=asc(a$):b=0
  15. 240 if(a>64)and(a<91)thenb=a+32:goto370:rem klein
  16. 250 if(a>192)and(a<219)thenb=a-128:goto370:rem gross
  17. 260 if(a>31)and(a<65)thenb=a:goto370:rem ziffern & zeichen
  18. 270 ifa=160thenb=127:rem shift space
  19. 280 ifa=95thenb=13:rem absatz
  20. 290 ifa=169thenb=91:rem ae
  21. 300 ifa=168thenb=92:rem oe
  22. 310 ifa=170thenb=93:rem ue
  23. 320 ifa=165thenb=123:rem ae
  24. 330 ifa=161thenb=124:rem oe
  25. 340 ifa=166thenb=125:rem ue
  26. 350 ifa=167thenb=126:rem sz
  27. 360 :
  28. 370 ifa=95 then print chr$(13);:goto390
  29. 380 printchr$(a);
  30. 390 ifst=2goto430:rem file-ende
  31. 400 if b=0goto220
  32. 410 print#2,chr$(b);:goto220
  33. 420 :
  34. 430 print#2,chr$(0);chr$(0)
  35. 440 close1:close2
  36. 450 print:print:print" [212]ext ist konvertiert !![146]"
  37.