Equinox Online Help - Language Reference - A to Z

Home

TimeStart

Applies to
SyntaxTimeStart TimerHandle
Action[Statement] Initialises TimerHandle so it may be used later by the TimeElapsed and TimedOut functions.
ScopeUsable anywhere.
Notes

TimerHandle must be of type handle. It receives a 64 bit value which has no meaning outside of the timer statements.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryTime handling
See Also Now, Timer, Timer64, TimeElapsed, TimedOut
Example
define TEST_COUNT 1000000

int i
handle t
int64 ms

PrintDevice ""

TimeStart t
for i = 1 to TEST_COUNT
next
ms = TimeElapsed(t)
print "test result", Str(ms,,,4)