TIMER

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

Syntax:
TIMER = msec
value = TIMER

Description:

TIMER = msec
Resets the timer to a number of milliseconds. Normally this is just used to reset the timer to zero but you can set it to any positive integer.

value = TIMER
Returns the elapsed time in milliseconds (eg, 1/1000 of a second) since reset. This is a fractional floating point number with a resolution of 1uS 
The timer is reset to zero on power up or a CPU restart and you can also reset it to any value by using TIMER as a command.

TIMER = 0
PAUSE 1000
PRINT TIMER

Output
1000


Last edited: 05 October, 2020