Avoid too many Exit and Entry points in Functions (FORTRAN) | CAST Appmarq