home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 55
/
Tiger_Disk_055_19xx_Tiger-Crew-Disk_de_Side_B.d64
/
trennprogramm
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
32 lines
5 poke53280,6:printchr$(14)
10 printchr$(147)"[212]rennprogramm":print"[218]u trennende [215]orte eingeben!"
15 print"[197]nde mit '[210][197][212][213][210][206]'!":goto430
20 a%(0)=len(a$):ifa%(0)<5orv=1then120
30 b$=left$(a$,5):ifb$="unter"then120
50 b$=left$(a$,4):ifb$="nach"orb$="]ber"orb$="miss"thenb%=4:goto370
60 b$=left$(a$,3):ifb$="ver"orb$="zer"orb$="auf"orb$="ein"thenb%=3:goto370
70 ifb$="weg"orb$="hin"orb$="dar"orb$="ent"orb$="vor"thenb%=3:goto370
80 ifb$="aus"orb$="her"thenb%=3:goto370
90 b$=left$(a$,2):ifb$="be"orb$="zu"orb$="er"orb$="an"thenb%=2:goto370
100 ifb$="ur"orb$="um"orb$="un"orb$="ab"orb$="ge" thenb%=2:goto370
110 v=1
120 fori=1toa%(0):b$=mid$(a$,i,1)
130 ifb$="a"orb$="e"orb$="i"orb$="o"orb$="u"thena%(i)=1:nexti:goto160
135 ifb$="["orb$="]"orb$="\"thena%(i)=1:nexti:goto160
140 ifb$="[193]"orb$="[197]"orb$="[201]"orb$="[207]"orb$="[213]"thena%(i)=1:next:goto160
150 a%(i)=0:next
160 i=0
170 i=i+1:ifi>a%(0)then410
180 ifa%(i)=0then170
190 b=0
200 b=b+1:ifb+i>a%(0)then410
210 ifmid$(a$,b+i,1)=" "thenb%=b+i:goto370
220 ifa%(b+i)=0then200
230 ifb=1then200
240 b%=i+b-2:ifb%<2then320
250 ifb%<3then270
260 ifmid$(a$,b%-1,3)="sch"thenb%=b%-2:f=0:goto350
270 b$=mid$(a$,b%,2)
280 ifb$="ch"orb$="ei"orb$="au"orb$="ph"orb$="th"orb$="st"thenb%=b%-1
290 chr$