VB 导出TXT
怎么在创建的文件中输入文字
Open "c:\aaa.TXT" For Append As #1
怎样在输入文字后,就是写到记事本中以后,带着那个不换行或换行符?
--------------------------------------------------------------------------------
print #1,"你要输出的文字"
跟 Output一样的
--------------------------------------------------------------------------------
Dim file as string,FF As Integer
file="C:\a.txt"
FF=FreeFile
open file for Append As #FF
Print #FF,"输出此段文字后换行"
Close #FF
Dim file as string,FF As Integer
file="C:\a.txt"
FF=FreeFile
open file for Append As #FF
Print #FF,"后面加了分号,所以输出此段文字后不换行";
Close #FF
另外:Append就是在旧的内容上插入,Output 就是覆盖写入,Input就是读取的意思