home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1992 March
/
64er_Magazin_92-03_1992_Markt__Technik_de_Side_A.d64
/
dirlist
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
661b
|
43 lines
11000 r=-1
11010 t$(0)="del"
11020 t$(1)="seq"
11030 t$(2)="prg"
11040 t$(3)="usr"
11050 t$(4)="rel"
11060 open1,8,15
11070 open2,8,2,"#"
11080 print"[147]typ name laenge[146]"
11090 s=1
11100 print#1,"u1:"2;0;18;s
11110 get#2,t$,s$
11120 s$=s$+chr$(0)
11130 t$=t$+chr$(0)
11140 s=asc(s$)
11150 e=1
11160 print#1,"b-p";2;2+(e-1)*32
11170 a$=a$+chr$(0)
11180 get#2,a$
11190 a$=a$+chr$(0)
11200 ifasc(a$)<128andasc(t$)=0then11390
11210 ifasc(a$)>127then printt$(asc(a$)-128)" ";
11220 print#1,"b-p";2;5+(e-1)*32
11230 n$=""
11240 fora=1to16
11250 get#2,b$
11260 n$=n$+b$
11270 next a
11280 printn$" ";
11290 print#1,"b-p";2;30+(e-1)*32
11300 get#2,a$,b$
11310 a$=a$+chr$(0):b$=b$+chr$(0)
11320 l=asc(a$)+256*asc(b$)
11330 printl
11340 e=e+1
11350 ife<9then11160
11360 e=0
11370 ifasc(t$)=0then11390
11380 goto11100
11390 close2
11400 close1
11410 return