Module Chart Checks : (C5077) Procedures/functions that are used incorrectly

(C5077) Procedures/functions that are used incorrectly

Error In:
Correctness
Description:
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.
Format:
<Function/Procedure> <subroutine name>
used as <Procedure/Function> in definition of
<element name>:<expression of subroutine call>
 
 
Example:
Function FACTORIAL
used as Procedure in definition of
SCH_ADA:ACTION: FACTORIAL(Y)
 
 
Erroneous Elements:
Subroutines