M
Mark
Hy.
How Can I make Function which when I call this function
e.g. Call Star(10,20)
And I want that this function receive me any value.
***
***
Sample
Private sub Button_Click
Call Start(10,50) this function make 10+50 and
msgbox ( any variable with sum of this numbers.)
I want that this function receive me sum of this numbers.
end sub
Public Function Start(byval a as int32,byval b as int32)
c=a+b
end function
When I deklared c as Public I can make this msgbox(c), but I would like to
know if is any way to do this.
How Can I make Function which when I call this function
e.g. Call Star(10,20)
And I want that this function receive me any value.
***
***
Sample
Private sub Button_Click
Call Start(10,50) this function make 10+50 and
msgbox ( any variable with sum of this numbers.)
I want that this function receive me sum of this numbers.
end sub
Public Function Start(byval a as int32,byval b as int32)
c=a+b
end function
When I deklared c as Public I can make this msgbox(c), but I would like to
know if is any way to do this.