Option Explicit
Private Sub Form_Load()
Dim a As Double
Dim y As Double
Dim z As Double
a = Val(InputBox("Please input numberic data a"))
If a >= 0 Then GoTo myexit
y = a * a + 100
z = Sqr(a + y)
Exit Sub
myexit:
y = -a + 11
z = Sin(a / y)
End Sub
请高手帮我解释解释这个vb小程序
特别是后面if..goto的语句请详细点 谢谢
繁华开满天机
catspeake
相关分类