Comment Block

Comments are commonly used to describe your subroutines.
You should always add a comment block above every procedure and function.
A specification should provide a description of what the subroutine (or function) is doing.

'Action: Returns the length of two strings

' sOne - (String) The first argument
'sTwo - (String) The second argument

'Returns: (Long) The number which is the length of both strings

'Date, Developer, Change:
'13/02/2020, Russell Proctor, Added Error Handler

Public Function MyFunction(ByVal sOne As String, _
                           ByVal sTwo As String) As Long

End Sub

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext