Colour bars/Display: Difference between revisions

m
Line 724:
=={{header|EasyLang}}==
 
[https://easylang.online/iderun/?runcode=intvars%0Acolcol%5B%5D%3D%5B%20000%20900%20090%20909%20099%20990%20999%20%5D%0Aw%23%3D100.0/len%20col%5B%5D%0Afor%20i%20range%20len%20col%5B%5D%0Acolor%20col%5Bi%5D%0Amove%20w%23%2Ai%200%0Arect%20w%23%20100%0A. Run it]
 
<lang easyprog.online>intvarscol[] = [ 000 900 090 909 099 990 999 ]
w# = 100.0 / len col[]
col[] = [ 000 900 090 909 099 990 999 ]
w# = 100.0 / len col[]
for i range len col[]
color col[i]
move w# * i 0
rect w# 100
.</lang>
 
2,053

edits