Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Matrix1 Utility Plugins, just a question, ?

Author
Message
Serge Adjo
19
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 19th Jan 2011 20:19
Hi everyone! I'm using Matrix1 Utility Plugins to use a timer that would be more precise than Dark Basic's built in timer. Dark Basic pro's timer works at 1/1000th of a second (works in milliseconds).
I would like to work with more precision: I need to work at 1/10000th of second instead of 1/1000th.
To do this I have the "HITIMER( Frequency )" function from Matrix1 Utility Plugins.

-Please, what "frequency" (HITIMER( Frequency ) do I have to use in order to work at 1/10000th of second ?

Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 19th Jan 2011 20:29
Actually, DBPro's timer is only accurate to about 1/100th of a second, even though it returns a value in 1/1000ths of a second.

To get HITIMER() to count in 1/10000ths of a second, use a value of 10000.

[b]

Login to post a reply

Server time is: 2026-07-18 02:08:51
Your offset time is: 2026-07-18 02:08:51