Flow Chart Checks : (C18095) Subroutines with illegal parameter type or return type

(C18095) Subroutines with illegal parameter type or return type

Error In:
Correctness
Description:
There is a subroutine where a User-Defined Type (UDT) is the return type, or the type of a parameter. The following table below lists the illegal definitions for UDTs.
 
 
(*) In these cases, a middle UDT is needed. For example, if the return type of a function should be an array of string, it should be defined as:

UDT array of STR_UDT, and STR_UDT, a string

 

 

Format:

subroutine <subroutine name>
return type <user-def type>, defined as <type>
<user-def type>, type of parameter <parameter>,
defined as <type>

Example:

subroutine F1
return type ARR_STR1, defined as array of string
STR_QUEUE1, type of parameter P1, defined as queue

 

Erroneous Elements:
Subroutines