& and line continuation
andrealphus
andrealphus@gmail.com
Thu Jun 14 00:47:00 GMT 2007
Thanks Adrian for the help, you were right, it was just a file
extension problem (I was using .f instead of .f90).
Thanks all you guys for the input.
-ashton
On 6/13/07, andrealphus <andrealphus@gmail.com> wrote:
> In my rush out the door I forgot to attach the screen shots...
>
> On 6/13/07, Craig Powers <enigma@hal-pc.org> wrote:
> > 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