Colour bars/Display: Difference between revisions

(Rust)
Line 733:
=={{header|EasyLang}}==
 
[https://easylang.online/apps/_color-bars.html Run it]
[https://easylang.online/ide/?run=col%5B%5D%3D%5B%20000%20900%20090%20909%20099%20990%20999%20%5D%0Aw%3D100.0/len%20col%5B%5D%0Afor%20i%20range%20len%20col%5B%5D%0Acolor%20col%5Bi%5D%0Amove%20w%2Ai%200%0Arect%20w%20100%0A. Run it]
 
<lang easyprog.online>col[] = [ 000 900 090 909 099 990 999 ]
w = 100.0 / len col[]
for i range len col[]
colorset_color col[i]
movemove_pen w * i 0
rectdraw_rect w 100
.</lang>
 
1,995

edits