Die While-Wend Schleife ist eine bedingte Schleife. Sie hat die gleiche Funktion wie die Do-Loop-While Schleife, ist aber für bedingte Wiederholungen sinnvoller.
Beispiel While-Wend:
While x% < 100: x% = x% + 1 Print x% Wend
Das selbe Beispiel mit einer Do-Schleife
Do While x% < 100 Print x% x% = x% + 1 Loop
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.