Logo

Programming-Idioms

History of Idiom 50 > diff from v72 to v73

Edit summary for version 73 by zqwnvl:
[VB] Follow pattern of other languages; add doc link

Version 72

2021-08-15, 23:54:06

Version 73

2021-08-20, 07:25:34

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Ouroboros eating its own tail

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Ouroboros eating its own tail
Code
Public Sub infiloop()
    Do

    Loop
End Sub
Code
Do
    ' Do something
Loop
Doc URL
https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/do-loop-statement