EVENTCOUNT


8.1, PLBCMP GUI Only

 

The EVENTCOUNT instruction determines the number of events pending on the event queue. The instruction uses the following format:

 

 

[label]

EVENTCOUNT

{count}

 

Where:

label

Optional. A Program Execution Label.

count

Required. A previously defined Numeric Variable that receives the number of events pending.

Flags Affected: ZERO, OVER

Note the following:

  1. If no events are pending, the ZERO flag is set.

  2. If the count of the number of entries is truncated when moving to {count}, the OVER flag is set.

 

 

See Also: Program Control Instructions

 



PL/B Language Reference EVENTCLEAR EVENTQUEUE