07-26-2023, 08:34 PM
Description:
The Do Until loop repeats a block of code until a condition becomes true.
Example:
Sub ExampleDoUntilLoop()
Dim i As Integer
i = 1
Do Until i > 5
MsgBox "Iteration: " & i
i = i + 1
Loop
End Sub
The Do Until loop repeats a block of code until a condition becomes true.
Example:
Sub ExampleDoUntilLoop()
Dim i As Integer
i = 1
Do Until i > 5
MsgBox "Iteration: " & i
i = i + 1
Loop
End Sub
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos