Public Sub test() Open "c:\test\temp.txt" For Append As 1# Dim a As Integer, b As Integer, c As Integer, d As String a = 1: b = 2: c = 3: d = "hello" Write #1, a, b, c, d, "world" End Sub
Public Sub test() Open "c:\test\temp.txt" For Append As 1# 这样可以吗?感觉是#1吧 Dim a As Integer, b As Integer, c As Integer, d As String a = 1: b = 2: c = 3: d = "hello" Write #1, a, b, c, d, "world" End Sub