Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Timer counting backwards |
| From: | Thorvald Neumann |
| Date: | Mon, 24 Apr 2000 20:47:11 +0100 |
Hejsan!
Monday, April 24, 2000, 22:27, Glen Rhodes <grhodes
> Just use an offset variable. So, if you want it to count back from 30
> seconds.. then
>
> current = 30000 - GetTimer()
>
> then, current is the number of milliseconds elapsed from 30 seconds.
>
> When current <= 0, then the timer has run out
Oh boy <imagine sounds of banging head on keyboard>, I think I have
had too much today. I am "flashing" since today morning and my head
feels somewhat heavy.
Thank you for the hint. I have written a complex timer which does not
function the way I want it and the real solution is indeed easy.
O.K., that's it for today, have a good night (or a good day)!
Best regards,
Thorvald Neumann
--
: Thorvald Neumann :
: Multimedia Developer :
: hrafn
: ICQ #38948488 :
--
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: FLASH: Timer counting backwards, Glen Rhodes
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

