|
Elite Member
您的住址: Red Planet
文章: 4,277
|
引用:
Originally posted by 黑狗弟
那 Vb 因該是這樣
Private Sub count20_Click()
Dim x As Integer
Dim i As Integer
x = 0
i = 0
For i = 1 To 20
x = x + i
Next i
Debug.Print x
End Sub
<------------
Private Sub count100_Click()
Dim x As Integer
Dim i As Integer
x = 0
i = 0
For i = 1 To 100
x = x + i
Next i
Debug.Print x
End Sub
|
你這個是.NET的寫法∼∼ 
__________________
The war is crates by fear and gap.
|