View Full Version : How can I convert a Microsoft unformatted sequential file format to Lahey format?
R. T. (Fortran Man)
09-03-2003, 06:03 PM
How can I convert a Microsoft unformatted sequential file format to Lahey format?
Lahey Support
09-03-2003, 07:17 PM
Lahey's unformatted sequential file format is different than Microsoft's. To convert the data file to Lahey format, do the following:
* compile the file sequnf.f90 in the LF90\SRC directory using the -nhed switch. This file does the conversion for you, the -nhed switch ensures that no header is generated on the converted data file.
* run sequnf.exe. Give your data file as input. Choose a new output filename.
* change your source to use FORM='unformatted' and ACCESS='sequential' and change the FILE= part to reference the new file you've created.
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.