DO ... ENDDO |
DO statements ENDDO
Loop "forever". It's the same as using DO..UNTIL FALSE. Use IF condition THEN EXIT DO to terminate the loop. Note; This is a non-standard BASIC statement and should not be used if portability is an issue.
Example:
i = 1 DO i = i + 1 IF i = 10 THEN EXIT DO ENDDO
|