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