(Visual basic) |
(→Goto) |
||
Line 533: | Line 533: | ||
=== Goto === |
=== Goto === |
||
This skips the line that changes the value of x to 5. |
|||
This creates an infinite loop. |
|||
Sub |
Sub bar2() |
||
Dim x = 0 |
Dim x = 0 |
||
⚫ | |||
x = 5 |
|||
label: |
|||
Console.WriteLine(x) |
|||
⚫ | |||
⚫ | |||
⚫ |