ElapsedMilliseconds()
Syntax
Result = ElapsedMilliseconds()Description
Returns the number of milliseconds that have elapsed since a specific time in the past.
Parameters
None.
Return value
Returns the elapsed time in milliseconds.
Remarks
The absolute value returned is of no use since it varies depending on the operating system. Instead, this function should be used to calculate time differences between multiple ElapsedMilliseconds() calls.
This function is relatively accurate: it may have a slight variation, depending on which operating system it is executed on, this is due to the fact that some systems have a lower timer resolution than others.
Example
StartTime = ElapsedMilliseconds() ; Get the actual value Delay(1000) ; Wait 1000 milliseconds ElapsedTime = ElapsedMilliseconds()-StartTime ; 'ElapsedTime' value should be about 1000 milliseconds
See Also
Delay()
Supported OS
All