Module Chart Checks : (C5085) Subroutines using element not declared as parameters, local variables or globals

(C5085) Subroutines using element not declared as parameters, local variables or globals

Error In:
Correctness
Description:
Subroutines use elements not declared as parameters, local variables, or globals. All elements used in the subroutine code should be declared, including constant data-items and conditions, enumerated values, other subroutines, and user-defined types.
Format:
subroutine <subroutine name><used element name>
Example:
subroutine F L2
 
 
Erroneous Elements:
Subroutines