dim strFileName as string
dim iFreeFile as integer
ifreefile=freefile
strfilename=app.path & "\result.txt"
open strilename for output as #ifreefile
print #ifreefile,<要写入的文本>
close #ifreefile
'如果要写入多行文本的话可以用一个循环来实现。
dim strFileName as string
dim iFreeFile as integer
ifreefile=freefile
strfilename=app.path & "\result.txt"
open strilename for output as #ifreefile
print #ifreefile,<要写入的文本>
close #ifreefile
'如果要写入多行文本的话可以用一个循环来实现。