Private Sub Command1_Click()
Dim i As Integer
Dim s As Integer
For i = 0 To 10
i = i + 1
s = s + i
Next i
Label1.Caption = s
End Sub
i = i + 1与s = s + i这两个变量顺序换了为什么结果一样啊,你说的仔细点啊i = i + 1放在s = s + i的后面这个我知道i从0开始一直加到10最后等于30,,,,i = i + 1放在s = s + i的前面这个为什么从1开始累加啊