Function DispCount() Foundation
Determines the number of pending DispEnd() calls.
DispCount() --> nDispendCount
DispCount() returns an integer numeric value. This designates the number of DispEnd() calls required to display all screen buffers.
The number of screen buffers is determined with DispCount(). A screen buffer is only displayed after DispEnd().
Each call to DispBegin() opens a new screen buffer. Any output to the screen is stored in the buffer until a corresponding call to DispEnd() occurs. Only then is the display visible on the screen.
DispCount() determines how many screen buffers still exist which have not yet been displayed. This is especially important when calls to the function DispBegin() are nested and a runtime error is generated from which the error handling routine can recover. In this case, all screen buffers must be displayed before any new output on the screen is possible.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.