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:
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.