Implied DO Loops on READ Statements

Product Version(s): 3.20
Operating System:   MS-DOS
Flags: ENDUSER |
Last Modified: 12-MAY-1988    ArticleIdent: Q10643

Problem:
   READ statements with implied DO loops are always executed at least
once. This is not the case with explicit DO loops or WRITE statements
with implied loops.

Response:
   This is correct behavior for READ statements.
   The ANSI Standard says the statement 'READ(*,*) (I,J=1,0)' should
behave the same as a READ(*,*).
   An implied DO loop in a READ is not equivalent to a real DO loop
containing a READ.
