Private Sub Command1_Click()
Dim a, b As Integer
a = 10
b = 20
sum1(a,b)
End Sub
Private Sub sum1(a, b)
Dim c As Integer
c = a + b
Print c
End Sub
i have called the procedure bu simply the procedure name & arguments within the parentheses as in VB.net, but there is error in the above program.
Plz help me out.