> So why should I put a CONTINUE here?
>
> program ending
> character *10 a
>
> do
> read (*,*,end=99)a
> print *,a
> end do
>
> 99 end program ending
>
> Harvey
As a standalone example, there is no reason to. However, I believe the
traditional wisdom is that a CONTINUE separates the jump-to point from
the code following it, making the latter easier to cut and paste.
Perhaps this was relevant back in the days of punched cards as well, I
don't know (I'm not THAT old).
Are there other reasons for this traditional wisdom?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|