Syntax
| [ | Private | Public | Friend ] [ Default ] _
Function name[type][([param[, ...]])] [As type[()]]
statements
End Function
|
---|---|
Description
| User defined function. The function defines a set of statements to be executed when it is called. The values of the calling arglist are assigned to the params. Assigning to name[type] sets the value of the function result.
Function defaults to Public if Private, Public or Friend are not is specified.
|
See Also
| |
Example
|
|