• 2021-04-14
    在窗体上添加一个文本框Text1和一个命令按钮Command1,然后编写如下事件过程:
    Private Sub Command1_Click()
    Dim i As Integer, n As Integer
    For i = 0 To 50
    i = i + 3
    n = n + 1
    If i > 10 Then Exit For
    Next
    Text1.Text = Str(n)
    End Sub
    程序运行后,单击命令按钮,在文本框中显示的值是( )。