题目内容:
窗体上命令按钮Command1的事件过程如下:Private Sub Command1_Click()
Dim total As Integer
total=s(1)+s(2)
Print total
End Sub
Private Function s(m As Integer)As Integer
Static x As Integer
For i=1 Tom
x=x+l
Next i
S=X
End Function
运行程序,第3次单击命令按钮Command1时,输出结果为【l】。
参考答案:
答案解析: