home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 2
/
64er_Magazin_Sonderheft_02_86-02_1986_Markt__Technik_de.d64
/
listdruck
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
2KB
|
54 lines
7 rem von
8 rem georg engist
9 rem 7818 achkarren
10 goto220
20 get#2,a$
30 ifa$=""goto160
40 b=asc(a$)
50 ifb=gthenifathena=h:goto120
60 ifb=gthena=i
70 ifa=hgoto120
80 ifb>jthenifb<kthenprint#4,a$;:goto20
90 ifb>lthenprint#4,a$;:goto20
100 b$=chr$(18)+","+right$(str$(b),len(str$(b))-1)+chr$(146)
110 print#4,b$;:goto20
120 ifb>mthenifb<nthenprint#4,a$(b-p);:goto20
130 ifb>nthenifb<qthenprint#4,a$(b-r);:goto20
140 ifb>jthenprint#4,a$;:goto20
150 print#4,chr$(18);",";right$(str$(b),len(str$(b))-1);chr$(146):goto20
160 forz=1to3:get#2,a$:nextz
170 get#2,b$:a$=a$+chr$(.):b$=b$+chr$(.)
180 ifst=66thenclose1:close2:close4:end
190 c=asc(a$):d=asc(b$):e=256*d+c
200 a$=str$(e):b$=right$(a$,len(a$)-1)+" "
210 print#4:print#4,b$;:a=.:goto20
220 clr:printchr$(142)chr$(147)chr$(5)"
230 [153]" = = (NULL)right$ or=^ ^(NULL)right$ (NULL)right$= (NULL)right$ (NULL)right$ ^(NULL)right$ or^ orright$
240 print" [221] [221] [202][201] [221] [171][177][201] [221][202][179] [171][179] [221] [171][177][201] [171] [171][179]
250 [153]" /exp >closemid$(NULL) > exp mid$ > > (NULL)mid$ mid$(NULL) exp mid$ /exp >mid$
260 printtab(17)"v o n
270 [153][163]9)"g e o r g e n g i s t"[199](154)
280 g[178]34:i[178]1:j[178]31:k[178]128:l[178]159:m[178]127:n[178]204:p[178]128:q[178]256:r[178]205
290 [153][163]7)"diskette einlegen ! (ctrl)":[151]649,.:[146]653,4:[151]649,10
300 [159]1,8,15,"i0":[153][163]4)
310 [133]"programmname ";na$
320 [159]2,8,0,"0:"[170]na$
330 [132]1,en,en$
340 [139]en[167][153][163]17)""en:[153][163]20[171][181]([195](en$)[173]2))en$:[128]
350 [134]a$(75):[129]z[178].[164]75:[135]a$(z):[130]z:[153][199](147):[159]4,4
360 [129]z[178].[164]1:[161]#2,a$:[130]z:[137]160
370 [131]end,for,next,data,"input#"
380 [131]input,dim,read,let,goto,run
390 [131]if,restore,gosub,return
400 [131]rem,stop,on,wait,load,save
410 [131]verify,def,poke,"print#",print
420 [131]cont,list,clr,cmd,sys,open
430 [131]close,get,new,"tab(",to,fn
440 [131]"spc(",then,not,step,+
450 [131]-,*,/,^,and,or,">"
460 [131]=,"<",sgn,int,abs,usr,fre
470 [131]pos,sqr,rnd,log,exp,cos,sin
480 [131]tan,atn,peek,len,"str$",val
490 [131]asc,"chr$","left$","right$"
500 [131]"mid$",go