Arexx timer help
17-Oct-94 20:25:29
Sb: #43167-Arexx timer help
Fm: Charles Blaquiere 76046,1756
To: Bill Hawes 72230,267
I agree that looping would burn some time, which is why I would use
delay() for most, but not all, of the delay. I assumed a more general
case, where processing time for each iteration could not be precisely
specified. The CPU load might be higher or lower, causing processing (not
delay()) to take more time, and throw off the timing. This is why, every
time the loop iterates, I start with a gross delay(), followed by
fine-tuning in the form of a "wait until _exactly_ one second since last
loop".
Blaq!