Answered Timer

Martins

New Member
Hi all.

I have a problem that I wonder if someone could give me a help.
I need to create and display a timer that knew how many hours / second had passed since the program had been called.
Sera that someone can help me?
Best regards
 

GregTomkins

Active Member
It's hard to say what you really mean, but:

1. Use ETIME to do simple time counting, eg.

DEF VAR t AS I.
t = ETIME (TRUE). /* resets to zero */
/* a bunch of stuff goes here */
MESSAGE ETIME - t. /* shows how many milliseconds that took */

2. Progress non-interruptive PAUSE.

3. Windows .NET / ActiveX interruptive timer controls.

4. Unix 'sleep', maybe even 'cron'.
 
Top