ID: Q48632
5.00 | 5.00 MS-DOS | OS/2
    kbfile kbappnote
The "F1001: omf_ms.c:1.118, line 1093" internal compiler error is most often created in FORTRAN 5.0 by passing a structure to a subroutine and trying to use an item in that structure in a READ or WRITE operation.
An application note titled "F1.EXE and F1L.EXE Structure Patch," which corrects this problem, is available from Microsoft Product Support. This problem was also corrected in Microsoft FORTRAN version 5.1.
This file has been removed from the Software Library but can be requested by calling Microsoft Product Support Services.
         subroutine a(ms)
         structure /dataset/ 
           integer*2 number
         end structure
         record /dataset/ ms
         read(*,10) ms.number
 10   format(i2)
         end
         subroutine a(ms)
         structure /dataset/ 
           integer*2 number
         end structure
         record /dataset/ ms,fs
         read(*,10) fs.number  ! Read into fs, which was not passed.
         ms=fs                 ! Assign temp struct. to passed struct.
 10      format(i2)
         end
KBCategory:     kbfile kbappnote
Keywords          : kbcode kberrmsg kbLangFortran 
Version           : 5.00 | 5.00
Platform          : MS-DOS OS/2
Solution Type     : kbfixLast Reviewed: May 23, 1998