Code eg: Subprocedure using parameters.
Public Sub Login(Username As String, Password As String)
' Code does something
End Function
' Code does something
End Function
Code eg: Function using parameters.
Public Function Calculate(NumberOne As Integer, NumberTwo As Integer) As Integer
' Code does something
Return AValue
End Function
' Code does something
Return AValue
End Function
No comments:
Post a Comment