Stop count – Remote Processing CAMBASIC User Manual

Page 158

Advertising
background image

Comm ands - 125

STOP COUNT

Tasking Statement

SYNTAX:

STOP COUNT n [, n 1] [, n n]

PURPOSE:

To deactivate a software counter task that was previously active.

REMARK S:

This statement is used to suspend a counter that has previously been started. The accum ulated count
is not changed.

You can restart the counter at the same point by executing START COUNT.

The range of n is 0 to 7.

See the Multitasking Chapter for more information.

RELATED:

C L E A R C O U N T , C O N F IG C O U N T , O N C O U N T , R E SU M E C O U N T , S T A R T C O U N T

EXAMPLE:

10 STOP COUNT 0,1

ERROR:

< Data negative> – for n
< Data out of range> – if n > 7

Advertising