求VB高手!!!!!帮忙解答一下,谢谢了!!!!!急用!!!!!!

2024-11-30 21:49:43
推荐回答(1个)
回答1:

Option Explicit
Private Sub Command1_Click()
Dim i As Integer
Open "c:\datal.txt" For Append As #1
For i = 1 To 10
Print #1, i, i * i * i
Next i
Close #1
End Sub