New feature about END statement
ChristineLi 2700064EHM Visits (1397)
The XL Fortran compiler supports the new feature in the Fortran 2008 standard about END statement. It brings convenience for the programmers to conclude a function and subroutine for internal and module subprograms.
We were required to type FUNCTION or SUBROUTINE together with the END keyword to indicate the end of an internal subprogram or module subprogram. But with this new feature, we can omit FUNCTION and SUBROUTINE in such scope and only use the END keyword. It saves efforts of writing complete END statement. In addition, if we choose to omit FUNCTION or SUBROUTINE and stay concise, the name of the function or subroutine should also be omitted.
If you are interested in the feature, you can follow the link to learn more.