程序运行后,单击命令按钮,则两个标签中显示的内容分别为
PrivateSubCommand1_Click()Dimx%,y%x=5:y=3Callproc(x,y)Label1.Caption=xLabel2.Caption=...
Private Sub Command1_Click()
Dim x%, y%
x = 5: y = 3
Call proc(x, y)
Label1.Caption = x
Label2.Caption = y
End Sub
Private Sub proc(a As Integer, ByVal b As Integer)
a = a* a
b = b + b
End Sub
我想问问为什么是Y是3 展开
Dim x%, y%
x = 5: y = 3
Call proc(x, y)
Label1.Caption = x
Label2.Caption = y
End Sub
Private Sub proc(a As Integer, ByVal b As Integer)
a = a* a
b = b + b
End Sub
我想问问为什么是Y是3 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询