to fix the refreshing problem :p,
box 0,0,screen width(),screen height(),RGB(255,128,64),RGB(255,0,0),RGB(255,128,64),RGB(255,0,0)
do
wait key
cls
box 0,0,screen width(),screen height(),RGB(255,128,64),RGB(255,0,0),RGB(255,128,64),RGB(255,0,0)
randomize timer()
r=rnd(10)
if r=0 then print "0%"
if r=1 then print "10%"
if r=2 then print "20%"
if r=3 then print "30%"
if r=4 then print "40%"
if r=5 then print "50%"
if r=6 then print "60%"
if r=7 then print "70%"
if r=8 then print "80%"
if r=9 then print "90%"
if r=10 then print "100%"
loop