(C5077) Procedures/functions that are used incorrectly
Procedures are used as functions and treated in some expression as if they return a value, or functions are used as procedures and. called in an expression where an action is expected.<Function/Procedure> <subroutine name>
used as <Procedure/Function> in definition of
<element name>:<expression of subroutine call>