Re: Need Help: compiling old Fortran program
- From: Walter Spector <w6ws_xthisoutx@xxxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 16:15:50 GMT
Wade Ward wrote:
"James Giles" <jamesgiles@xxxxxxxxxxxxxxxx> wrote in message
...
*SOME* programmers evidently used it.
:-)
Do, I understand correctly that
program giles1
integer :: i
do, i=1,10
write(*,*) i
end do
end program giles1
is legal fortran?
Yes. But I would write it:
program notgiles1
implicit none
integer :: i
do, i=1,10
write(*,*) i
end do
end program giles1
It's ugly as all get out.
Depends on the eyes of the beholder.
Yeah, I am a "SOME" programmer who has used the comma for many years,
for the reasons James explains. IMO, anything that can help find my
typos at compile time is a Good Thing! Even if it appears, to some
others, to be slightly 'ugly' or redundant. IMPLICIT NONE and explicit
interfaces fall in the same category.
Using the comma is still habitual for me. Even though with F90 free
source form, where blanks are signficant, the reasons for it are no
longer unnecessary.
W.
.
- Follow-Ups:
- Re: Need Help: compiling old Fortran program
- From: Gib Bogle
- Re: Need Help: compiling old Fortran program
- From: Walter Spector
- Re: Need Help: compiling old Fortran program
- References:
- Need Help: compiling old Fortran program
- From: Förster vom Silberwald
- Re: Need Help: compiling old Fortran program
- From: Walter Spector
- Re: Need Help: compiling old Fortran program
- From: Gib Bogle
- Re: Need Help: compiling old Fortran program
- From: James Giles
- Re: Need Help: compiling old Fortran program
- From: Wade Ward
- Need Help: compiling old Fortran program
- Prev by Date: Re: Need Help: compiling old Fortran program
- Next by Date: A question about OOP in Fortran?
- Previous by thread: Re: Need Help: compiling old Fortran program
- Next by thread: Re: Need Help: compiling old Fortran program
- Index(es):