Clear count – Remote Processing CAMBASIC User Manual
Page 51

Comm ands - 18
CLEAR COUNT
Tasking Statement
SYNTAX:
CLEAR COUNT n [, n 1] . . . [, n m]
PURPOSE:
To clear the accumulated count in a software event counter.
REMARK S:
CLE AR CO UNT is functional both during timed operation and when the counter is stopped. The
counter number n ranges from 0 to 7.
See the Multitasking Chapter for more information.
NOTE: This statement has no effec t on 82C54 har dware co unters.
RELATED:
C O N F I G C O U N T, O N C O U N T , R E S U M E C O U N T, S T A R T C O U N T, S T O P C O U N T
EXAMPLE:
10 CLEAR COUNT 0
10 CLEAR COUNT 5,6,3
ERROR:
< Data negative> – for n
< Data out of range> – if n > 7