Computer Science Canada Resetting Time.Elapsed |
Author: | mynameisbob [ Sat Jul 17, 2004 12:35 am ] |
Post subject: | Resetting Time.Elapsed |
is there anyway to reset Time.Elapsed without exiting the program? i am trying to make a timer that starts at 20 then resets itself when it reaches zero. I can do it by subtracting from a variable every time it runs through the loop but i want it to be based on real time. |
Author: | Tony [ Sat Jul 17, 2004 1:37 am ] |
Post subject: | |
umm... no... just measure the time using two different variables, and look for the difference between them. |