Dim n As Integer
Do Until n > 5
n = n + 10
Loop
Debug.WriteLine(n)
VS
Dim n As Integer
While Not n > 5
n = n + 10
End While
Debug.WriteLine(n)
输出:10(两者都有)
Dim n As Integer
Do Until n > 5
n = n + 10
Loop
Debug.WriteLine(n)
VS
Dim n As Integer
While Not n > 5
n = n + 10
End While
Debug.WriteLine(n)
输出:10(两者都有)