Whenever I put the command 'sleep' into my code, it 'sleeps' the whole Shoes app before start, so...
Shoes.app :width => 200, :height => 250 do
hi = para "Yodleman!"
variable1 = 1
animate(6) do
hi.replace variable1.to_s
variable1 = variable1 + 1
if variable1 > 20
hi.replace "Too high! Starting over..."
sleep 5
variable1 = 1
end
end
end
When I run taht, Shoes will wait five seconds before opening!
--
--TIMOTHY
