home *** CD-ROM | disk | FTP | other *** search
- 200 rem ****** listing 2/2 *******
- 202 :
- 204 printchr$(14)chr$(147)
- 206 open 1,4,7
- 208 dim z$(600)
- 210 :
- 212 input"zeichen pro zeile";z
- 214 if z>80 then 212
- 216 :
- 218 input"linker rand";l
- 220 if l+z>79 then 218
- 228 :
- 230 get a$
- 232 :
- 234 print"*[157]";
- 236 for t=0 to 30:next
- 238 print" [157]";
- 240 for t=0 to 30:next
- 242 :
- 244 if a$="" then 230
- 246 if asc(a$)=1 then close 1:end:rem vc-20 133
- 247 if asc(a$)=2 then gosub 310:rem vc-20 134
- 248 if asc(a$)=157 then 230
- 250 if asc(a$)=145 then 230
- 252 if asc(a$)=17 then 230
- 254 if len(t$)=z and asc(a$)<>13 and asc(a$)<>20 then 230
- 256 if asc(a$)=20 and len(t$)=0 then 230
- 258 if asc(a$)=20 then t$=left$(t$,len(t$)-1):goto 264
- 260 :
- 262 t$=t$+a$
- 264 print a$;
- 266 if len(t$)=z-5 then gosub 286
- 268 if asc(a$)<>13 then 230
- 270 :
- 272 for j=1 to l
- 274 t$=" "+t$
- 276 next j
- 278 print#1,t$;
- 279 z$(x)=t$
- 280 t$=""
- 281 x=x+1
- 282 goto 230
- 284 :
- 286 rem ++++ unterprogramm klingel ++++
- 287 rem (beispiel c-64)
- 288 :
- 289 poke 54277,28
- 290 poke 54273,26
- 292 poke 54276,33
- 294 poke 54296,5
- 296 for k=1 to 100:next k
- 298 poke 54276,32
- 299 return
- 300 :
- 310 rem++ unterprogramm ganzer text +++
- 312 :
- 314 for y=0 to x
- 316 print#1,z$(y);
- 318 next y
- 320 return
-