pcRaider when your code is executed it looks like this:
Where I think Dark Apple is looking for something more like this:
I'm a newbie myself so for me this was a pleasure and a challenge. Here is the solution I've come up with:
randomize timer()
y = 0
y2 = screen height()
boxWidth = screen width() / 6
x = 0
for bar = 1 to 6
ink rgb(rnd(255),rnd(255),rnd(255)),0
box x, y, x + boxWidth, y2
inc x, boxWidth
next bar
message$ = "This is a test"
set text size 50
ink rgb(255,255,255),0
text screen width() /2 - text width(message$)/2, screen height()/2, message$
suspend for key
end
Just copy/paste that code into a new Dark Basic project and run it by pressing F5
I'm sorry for the lack of comments in the code, I just feel like it is simple enough to walk through. However I would love to break it down on request.