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: & and line continuation


Tobias Schlüter wrote:
andrealphus wrote:
example

    WRITE (*,*) 'Why does gfortran not'
     &'like me?'

would give me an error. (Same with all imaginable combinations of
placing the ampersand some where else: top line, inside quotes,
outside quotes, etc...)

Your example is not valid. The ampersand needs to be on the line that you intend to continue. With that change it works for me.

Sorry: if I add the string concatenation operator '//' :-)


- Tobi


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