目的:在循环中向文本文件写入多行字符串。
代码例如:
for i=0 to 23
.... '其他操作
open NotePath output as #1 '这一行可能写的不对,一时想不起来了,呵呵
print #1,字符串
close #1
next为什么我这样写,文本文件中只有一行而不是23行?
代码例如:
for i=0 to 23
.... '其他操作
open NotePath output as #1 '这一行可能写的不对,一时想不起来了,呵呵
print #1,字符串
close #1
next为什么我这样写,文本文件中只有一行而不是23行?
.... '其他操作 print #1,字符串
next close #1