瀏覽單個文章
P&W
Elite Member
 
P&W的大頭照
 

加入日期: Jul 2001
您的住址: 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.
舊 2002-11-24, 09:56 PM #23
回應時引用此文章
P&W離線中