http://www.SchoolFreeware.com There are three types of loops for QBasic. There are the While, Do Loop, and the For loop. This tutorial will show the Do Loop. WARNING: Make sure that the loop has a condition that will end the loop. If there is not a condition to end the loop, the computer will be sent through an infinite loop. Sometimes, using CTRL BREAK (QBasic 1.1) can end the infinite loop. The Do Loop's syntax is as follows: The Do Loop with the condition at the start of the loop: Do (While/Until)? [condition] ??? [Statement Block] Loop The Do Loop can have the condition at the end of the loop: Do ??? [Statement Block] Loop (While/Until) [condition]
Questions about QBasic Tutorial 10 - Do Loop - QB64
Want more info about QBasic Tutorial 10 - Do Loop - QB64?
Get free advice from education experts and Noodle community members.