If you were to assume the "count" is incremented in another loop, you could have the test for the value of "count" exit sooner, which could potentially be more efficient depending on the size of the test for "x"
IF count > 10 THEN
WHILE x < 0 DO
INPUT x
ENDWHILE
ENDIF
...becomes...
IF count > 10 THEN
CONTINUE // or return
ENDIF
WHILE x < 0 DO
INPUT x
ENDWHILE
Reputation Points: 304
Solved Threads: 277
Posting Virtuoso
Offline 1,694 posts
since Oct 2009