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.

Newcomers DBPro Corner / DBP, Need help with the use of timer() in my program, controling variables throught real time etc...

Author
Message
Rixarn
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location:
Posted: 12th Oct 2004 09:31
Hi all and thanks for reading my post. My problem is i need this program to Print the variables on screen with a given value (Time on screen) have a value that makes the printing wait some seconds for another letter (Time off screen) but it must all work in accordance with the timer.

Ex.
timeoff=1000
timeon=1000

Second 1 to 3 NOTHING ON SCREEN
Second 4 to 5 "X"
Second 6 to 7 NOTHING ON SCREEN(WAIT TIME 1 SEC)
Second 8 to 9 "Y"

i need this to work "in real time" cuz will later have to register how fast the user clicks enter if he sees the letter i told him...that´s why i have to keep track of the timer and also being able to save input.

please help me!
thanks!
FROGGIE!
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 13th Oct 2004 01:08
You could try this:



This will count the seconds.

I should have changed my signature when asked
harggood
21
Years of Service
User Offline
Joined: 9th Apr 2003
Location: the forest
Posted: 14th Oct 2004 04:27
Netlib.dll has this command:

dt_GetSecond() As Integer
Returns an Integer value specifying the current Second (0-59).

-as well as lots of other useful things.

Awfuldark Forest

Login to post a reply

Server time is: 2024-09-23 02:33:21
Your offset time is: 2024-09-23 02:33:21