怎么在创建的文件中输入文字
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就是读取的意思

相关文章:

  • 2021-07-01
  • 2021-10-27
  • 2022-02-07
  • 2022-12-23
  • 2021-06-01
  • 2022-01-21
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-02-20
  • 2022-12-23
  • 2022-02-27
相关资源
相似解决方案