dim i as integer
dim 临时 as string
for i = 0 to text1.count -1
'Text1得是一个控件数组
临时 = 临时 & text1(i).text & "-"
' "-"为分隔符,方便以后读取,也可以换个更复杂的分隔符,比如:^-^
next
open "要存储的TXT路径" for output as #1
print #1,临时;
'这里最好加分号,不加也不会出错,但是存储后会多出一个换行
close #1
OK了,不明白的问我!
dim s() as string
dim out as string
out=join(s,vbcrlf)
open 路径 for output as #1
print #1,out
close #1
怎样保存?合并成一个文件?