EXIT DO - QB64Official/qb64 GitHub Wiki The EXIT DO statement can be used to exit a DO...LOOP from inside of the loop. Syntax EXIT DO Used to exit a DO loop when a condition exists regardless of any loop conditions. See Also EXIT FOR, IF...THEN _CONTINUE