Problem Assigning Format Label

Product Version(s): 3.31
Operating System:   MS-DOS
Flags: ENDUSER | buglist3.31 fixlist4.00
Last Modified: 20-OCT-1988    ArticleIdent: Q11356

Problem:

There is a problem associated with assigning a format label to an
integer variable using the ASSIGN statement, then using the format
label more than once in a WRITE statement.

The following is a code sample that reproduces this behavior:

       PROGRAM TEST
       ASSIGN 4 TO I
       WRITE(*,4)' HELLO'
       WRITE(*,4)' HELLO' 4 FORMAT(A6)
       END

Response:

Microsoft confirmed this to be a problem in Version 3.31 of the
FORTRAN compiler. This problem was corrected in Version 4.00.