CmdCount
Returns the number of commands in the object's queue. Returns zero if the reference cannot be resolved or the object is considered destroyed.
This overload reads the command count without filtering by name. CmdCount(str) is a distinct overload. Zero can also come from an invalid reference or a destroyed object, so it is not sufficient by itself to test object validity. How every special command, such as idle, contributes to the count is not established here.
Signature
Parameters and return
No additional parameters.
Other overloads
| Member | Signature and description |
|---|---|
Obj::CmdCountObj | int Obj::CmdCount(str)Counts queued commands with the specified name. |