Private Sub Command1_Click()
D.im s , i
F.or i=1 To 10
s=s+i
Next i
MsgBox s
E.nd Sub
窗体打开运行后,单击命令按钮,则消息框的输出结果为 ( 11 ) 。