
Open App.Path & "\01.txt" For Output As #1 Print #1, Text2.Text Close #1
谁能给我翻译一下这段代码详解易理解呵呵OpenApp.Path&"\01.txt"ForOutputAs#1Print#1,Text2.TextClose#1...
谁能给我翻译一下这段代码 详解 易理解 呵呵
Open App.Path & "\01.txt" For Output As #1
Print #1, Text2.Text
Close #1 展开
Open App.Path & "\01.txt" For Output As #1
Print #1, Text2.Text
Close #1 展开
1个回答
展开全部
'这个应该是vb代码
Open App.Path & "\01.txt" For Output As #1 '打开程序文件夹下的文件01.txt,为输出儿打开,给这个文件一个编号“#1”
Print #1, Text2.Text ' ’把text2的内容输出到文件01.txt
Close #1 '关闭文件
Open App.Path & "\01.txt" For Output As #1 '打开程序文件夹下的文件01.txt,为输出儿打开,给这个文件一个编号“#1”
Print #1, Text2.Text ' ’把text2的内容输出到文件01.txt
Close #1 '关闭文件
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询