Pending

(Engine-Level Function)

Description: Returns the number of statements of a certain type pending.
Returns: Numeric
Usage: Script Only.
Function Groups: Graphics
Related to:
Format: Pending(StatementType)
Parameters:  
StatementType
Required. Any numeric expression giving the type of statement for which to get the number pending as follows:

StatementType

Pending type

0

Always returns 0. High priority statements are no longer supported.

1

Normal priority statement

2

Timer

3

Priority statement

4

Logger queue length

(logQsize in LogFile.cpp)

Example:

If 1 Next;
[
  numPending = Pending(1);
]
This script finds the number of normal priority statements pending at the time of execution and assigns the value to the variable numPending.