Inspection Details

Procedure Can Be Written As Function


Description
A procedure that only has one parameter passed by reference that is assigned a new value/reference before the procedure exits, is using a ByRef parameter as a return value: consider making it a function instead.
Message
Procedure can be written as a function
Type
Language Opportunities
Default Severity
Suggestion

Back to List