TIMER
Resets the internal clock. This feature is used in conjunction with the ZPL function ETIM() for measuring the elapsed time since the last TIMER command.
Syntax:
TIMER
Discussion:
TIMER and ETIM() are used primarily for testing execution efficiency of the ZPL interpreter and various program architectures.
Example:
i = 0 TIMER LABEL 1 x = RAND(1000) i = i+1 if i < 10000 THEN GOTO 1 FORMAT .1 PRINT "Elapsed time:", ETIM(), "Seconds"
Next: