[Quote=引用 2 楼 wallescai 的回复:]
逐行输出到文本框里这样写
Dim I as long
dim Str as string
for I =1 to 5
Str=Str & "a(" & I & ")=" & a(I) & chr(13)
next
Text1.multiline = True
Text1.text = Str
[/Quote]
以上代码在运行时会出现错误: Compile error:
Can't assign to read-only property