This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: line length


MILAD FATENEJAD wrote:
Hello:
I'm not sure if this is a bug, so I didnt post it on bugzilla. I've
noticed that gfortran only allows lines that are about 130 characters
long, I've also noticed that some other compilers dont have this limit.

My question is, is this a bug or somethig that was done on purpose? And
if so, is it part of the fortran standard?

According to the Fortran 95 standard, source lines in free source form are limited to 132 characters.


(In fixed source form, they're limited to 72 characters, just as in Fortran 77.)

- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]