Resume count – Remote Processing CAMBASIC User Manual

Page 141

Advertising
background image

Comm ands - 108

RESUME COUNT

Tasking Statement

SYNTAX:

RESUME COUNT m [,m1] [,m2] . . . [,mn]

PURPOSE:

To reenable a software event counter.

REMARK S:

The statement reenables a counter after a STOP COU NT statement has been executed. The counter
contents remain unchanged.

The m parameter is the count number w hich ranges from 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 , S T AR T C O U N T , S T OP C O U N T

EXAMPLE:

10 START COUNT 2
20 STOP COUNT 2
30 RESUME COUNT 2

ERROR:

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

Advertising