In GNU F77 there is a command LNBLNK which computes the index position of the LAST non-blank character.
Is there a similar routine in FTN77?
Welcome to our forums
In GNU F77 there is a command LNBLNK which computes the index position of the LAST non-blank character.
Is there a similar routine in FTN77?
Len_trim is an intrinsic in ftn95. I'm not sure about ftn77.
Try LENG.
I didn't think that LENG was part of the Fortran77 standard was it? In any case writing a routine to do this is very trivial.
LENG is not in the Fortran 77 standard. This function was not included in the stardard (as LEN_TRIM) until Fortran 90.
I wonder why it wasn't part of the Fortran 77 standard. It was more than 30 years ago so I guess we may never know.