Forum Discussion
scaper12123
10 years agoVisitor
"EnTerr" wrote:
Eh, you can always fix() it. And let me use an obscure function for no raisin:' Format the time left: "h:mm:ss"
function formatTimeLeft(secs as Integer):
hrs = fix(seconds/3600)
mins = fix(seconds/60) - 60*hrs
return substitute("^0:^1:^2", hrs.toStr(), right("0"+mins.toStr(), 2), right("0"+(secs mod 60).toStr(), 2)
end function
The main question however remains...
I just continue to rack up the questions, myself. Like now I can't seem to call the screen up at all because I call a function that displays and changes the time, and then it crashes as soon as i try to do a single arithmetic problem. I can't tell what the problem is with that.