Private Sub Command1_Click()
Dim a As Integer, b As Integer, c As Integer
a = 3
b = 4
c = 5
Print secproc(c, b, a)
End Sub
Function firproc(x As Integer, y As Integer, z As Integer)
firproc = 2 * x + y + 3 * z + 2
End Function
Function secproc(x As Integer, y As Integer, z As Integer)
secproc = firproc(z, x, y) + x + 7
End Function
按照c,b,a的顺序,不会是应该x,y,z分别对应c,b,a吗?
|