1:49:56
In ticks, that's 395760.
Add 23:28.
In ticks, that's 84480.
If we add the time code we get 2:12:24.
If we add the ticks we get 480240.
Convert 480240 to time code and we get:
2:13:24
We gained a minute, though I don't see where.
If anything, though, since I'm not using seconds,
it seems ok to round up 24 seconds to a minute.
Where would I put the floats to help this discrepancy?
> on stopMovie
> gEndTime = the ticks
> gTotalTime = gEndTime - gStartTime
> tHours = gTotalTime/60/60/60
> tMins = (gTotalTime/60/60) mod 60
> if tMins < 10 then tMins = "0" & tMins
> timeElapsed = tHours & ":" & tMins
> end
>
> on convertTimeToTicks
> tickMins = tMins*60*60
> tickHours = tHours*60*60*60
> totalTicks = tHours + tMins
> newTime = newTime + totalTicks
> --convert back to H:MM
> end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]