According to the file extension of a FORTRAN source file, a valid length is set.