Dec 232017
 
Microsoft Fortran 5.0 patch to correct problems with STRUCTURE and NAMELIST.
File HF0225.ZIP from The Programmer’s Corner in
Category Miscellaneous Language Source Code
Microsoft Fortran 5.0 patch to correct problems with STRUCTURE and NAMELIST.
File Name File Size Zip Size Zip Type
F1.EXE 194699 109984 deflated
F1L.EXE 252362 124625 deflated
HF0225.TXT 3506 1464 deflated

Download File HF0225.ZIP Here

Contents of the HF0225.TXT file


======================================================================
Microsoft Product Support Services Application Note (Text File)
HF0225: FORTRAN 5.0 F1.EXE AND F1L.EXE STRUCTURE PATCH
======================================================================
Revision Date: 1/92
Disk Included

The following information applies to Microsoft FORTRAN version 5.0.

--------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification [the MS-DOS(R) |
| utility DISKCOPY is appropriate for this purpose]; 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1992 Microsoft Corporation. All Rights Reserved. |
| Microsoft, MS-DOS, and the Microsoft logo are registered |
| trademarks and Windows is a trademark of Microsoft Corporation. |
--------------------------------------------------------------------

The enclosed disk contains patched versions of the FORTRAN version 5.0
compiler (F1.EXE) and high-capacity compiler (F1L.EXE). If you are not
currently using the high-capacity compiler, disregard F1L.EXE. Copy
F1.EXE and F1L.EXE into the directory that contains your FORTRAN
executable files (for example, C:\BIN). Consult the README.DOC file
from your original FORTRAN 5.0 Setup disk for information about using
the high-capacity compiler.

This application note provides corrections for the problems described
below:

1. Using an element of a STRUCTURE within an I/O statement inside a
subroutine, which generates a protection violation with OS/2 during
compilation, or the following compilation error with MS-DOS:

F1001: Internal Compiler Error, omf_ms.c:1.118, line 1093

2. NAMELIST statements in multiple subprograms in one file stopping
the machine

3. SAVEing a common block in multiple subprograms, which generates the
following compiler error:

F2348: already declared SAVE.

4. Using /4Yi, /4Ys, or /4Yv and an asterisk in column 1 to indicate a
comment, which generates the following compiler error:

F2037: illegal label field.

Both the patch and the original F1.EXE files are the same size. To
differentiate between the two, use the undocumented /4Yz switch as follows:

fl /4Yz .for

The filename must be an existing FORTRAN file. The new patched F1.EXE
will display:

.for
Microsoft FORTRAN (version 5.patch)




 December 23, 2017  Add comments

Leave a Reply