[求助]怎么把输出结果在text中打印出来
我写了一个程序但是不知道怎么才能在text中 一个个的打印出来,要求每一个数 都是一行一行的打印在text中。请求帮助!Private Sub Command1_Click()
Dim i, j, k, f As Integer
Dim a(7), b(7, 7), c(14, 7) As Integer
a(1) = 1
a(2) = 2
a(3) = 5
a(4) = 10
a(5) = 20
a(6) = 50
f = a(1) + a(2) + a(3) + a(4) + a(5) + a(6)
Picture1.Print f
For i = 1 To 6
Picture1.Print a(i)
Picture1.Print f - a(i)
For j = i + 1 To 6
b(i, j) = a(i) + a(j)
Picture1.Print b(i, j)
Picture1.Print f - b(i, j)
For k = j + 1 To 6
c(i + j, k) = b(i, j) + a(k)
Picture1.Print c(i + j, k)
Next k
Next j
Next i
End Sub