Prolint rule "nestedfunc" warns when it finds a function definition (or a procedure definition) inside a code block.
For example:
FOR EACH customer : FUNCTION Foo RETURNS CHARACTER (city AS CHARACTER) : END FUNCTION. END.
... because it is plain silly and ugly to do that, even if the compiler accepts it.
Functions (and procedures) should not be defined inside code blocks.
Comments
Re: nestedfunc
But in our case it happened by accident, because someone used an
include-file within a code block... :-)