BREAK.COUNT() |
|
|
The BREAK.COUNT() function returns the current value of the break inhibit counter.
Format
BREAK.COUNT()
The BREAK.COUNT() function returns the value of the break inhibit counter. This counter is incremented by the BREAK OFF statement and decremented (never below zero) by the BREAK ON statement.
Example
LOOP WHILE BREAK.COUNT() BREAK.ON REPEAT
This program fragment unwinds the break counter to ensure that breaks are enabled. Use of BREAK RESET would be better |