Re: Time Issue


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on April 01, 2008 at 13:24:10:

In Reply to: Time Issue posted by Greg on March 31, 2008 at 10:28:57:

When you do a dstat of the clock, Comet queries windows for its current time. This time is updated every tick of the system clock. The ticks happen 18.2 times a second. That pause statement causes the program to wait one tick. That causes the time loop to update about every 5/100ths of a second.

I used the below program to test this. It was derived from your test program. Try running it, and then comment out the pause statement to see what you get.

Note: File activity also takes time.


nxt:
a$ = DSTAT("CL1") !!! UPDATE CLOCK FOR RANDOM key
pause(1)
if time$ ne result$
print time$
result$ = time$
endif
goto nxt
dne:




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]