home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 6
/
64er_Magazin_Sonderheft_06_86-06_1986_Markt__Technik_de_Disk_1_of_3_Side_A.d64
/
farbstatistik
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
553b
|
21 lines
10 rem farbstatistik
20 (NULL):(NULL)1:(NULL)14,0:poke53280,0
30 :
60 (NULL)0:fori=199to0step-10:(NULL)2,i:next
65 (NULL)199:fori=29to319step30:(NULL)i,198:next
70 fora=1to10:x=-6+30*a:(NULL)a,0
100 y=180
120 h=rnd(1)*120
130 h=int(h*100+.5)/100
150 gosub10000:(NULL)x,y-1:(NULL)x,y-h-1
160 (NULL)cx,cy,dx,dy
170 (NULL)3,1,1,0,8,x-5,30-(h>=1)*8-(h>=10)*8-(h>=100)*8,h
180 next
9020 fori=0to20000:next:run
10000 ax=x+4:bx=x-12:cx=x+12:dx=x-4:ex=bx:fx=dx:gx=cx
10010 ey=y-4:fy=y+4:gy=fy:ay=ey-h:by=ay:cy=fy-h:dy=fy-h
10020 (NULL)ax,ay,bx,by:(NULL)ax,ay,cx,cy:(NULL)bx,by,dx,dy:(NULL)cx,cy,dx,dy
10030 (NULL)bx,by,ex,ey:(NULL)dx,dy,fx,fy:(NULL)cx,cy,gx,gy:(NULL)ex,ey,fx,fy
10040 (NULL)gx,gy,fx,fy
10050 return