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 Discussion / Timer problems

Author
Message
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 28th Sep 2003 05:44
WHY DOESN'T THIS WORK?




This is bugging me!

The rock has rolled!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Sep 2003 07:45
very simply, you need a > symbol...



because the timer runs in milliseconds, that is, 100 times a second, and the sync of the program is no more than 25 (ussually) then, it misses the number before the next sync... just put in the grater than symbol (> and you'll be right...

Hope i helped

If Quizz's Are Quizzical, Then What Are Test's?
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 28th Sep 2003 18:09
Oh!

Thanks

The rock has rolled!
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 28th Sep 2003 20:12
Quote: "because the timer runs in milliseconds, that is, 100 times a second"


Almost...add another zero, it's 1,000 times a second.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 29th Sep 2003 17:23
damn, sorry... thanks BatVink

If Quizz's Are Quizzical, Then What Are Test's?

Login to post a reply

Server time is: 2025-05-20 14:16:19
Your offset time is: 2025-05-20 14:16:19