Activity Chart Checks : (C3091) Procedures/Functions that are used incorrectly

(C3091) Procedures/Functions that are used incorrectly

Error In:
Correctness
Description:
Procedures are used as functions or treated in some expression as if they return a value. Functions are used as procedures, or called in expressions 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 (returning an integer) is used as a procedure in the following mini-spec:

EV/FACTORIAL(X,Y)

 

 

Erroneous Elements:
Subroutines