& and line continuation

Craig Powers enigma@hal-pc.org
Wed Jun 13 23:08:00 GMT 2007


Tobias Burnus wrote:
> 
> One could also use:
>     WRITE (*,*) 'Why does gfortran not &
>      & like me?'

Beware the additional space, which was probably not intended.  You would 
want to do e.g. (my personal preference)

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

(note the absence of a space leading into the ampersand on the continued 
line, you could also put the space there and omit it on the continuation 
line)



More information about the Fortran mailing list