下列程序段的功能为:单击窗体后,在D盘Temp目录下address.txt 文件中输入“张三,20,Male”。请填空。 Private Sub form_ click() Dim name As String Dim age As Integer Dim

admin2013-04-11  19

问题 下列程序段的功能为:单击窗体后,在D盘Temp目录下address.txt 文件中输入“张三,20,Male”。请填空。
Private Sub form_ click()
Dim name As String
Dim age As Integer
Dim sex As String
name =  "张三":  age = 20:  sex =  "Male"
Open "D:\temp\CodE.txt" For Append As #1
______#1, name, age, sex
______
End Sub

选项

答案Write Close #1

解析
转载请注明原文地址:https://kaotiyun.com/show/PIQp777K
0

最新回复(0)