PoppapumpJ
Programmer
Hi,
I am attempting to make a record of how long it takes to run a function. I am using the Timer function to see time down to the millisecond.
However the problem I am seeing is that sometimes I get a negative number.
Here is an example:
The problem I a seeing is that sometimes the number comes back negative.
Does anyone know of any bugs associated with using the Timer function in this manner?
Thanks,
I am attempting to make a record of how long it takes to run a function. I am using the Timer function to see time down to the millisecond.
However the problem I am seeing is that sometimes I get a negative number.
Here is an example:
Code:
GenericTimer = Timer
objMyObject.myFunction
msgBox (Timer - GenericTimer)
The problem I a seeing is that sometimes the number comes back negative.
Does anyone know of any bugs associated with using the Timer function in this manner?
Thanks,