program convert in fortran 77 to fortran 95
On Monday, May 16, 2022 at 10:26:21 AM UTC-7, asusa...@gmail.com wrote:
program convert in fortran 77 to fortran 95There was once, and I presume still is, a program to convert Fortran 77 to free-form Fortran 90 or 95.
Most people (but not programs) writing fixed-form Fortran will put in blanks between keywords and variable names, for readability.
The conversion program that I knew years ago, only knew about actual
Fortran 77 keywords. It would not generally convert fixed form to free
form, for programs with newer keywords.
As fixed form is still allowed in newer Fortran versions, it would be nice to have a program that could convert even later versions, though with
the restrictions on blanks. (No blanks in the middle of keywords or identifiers, and at least one between them.)
Otherwise, except for a small number of deleted features, Fortran 77 programs are valid as fixed-form Fortran 95.
Otherwise, except for a small number of deleted features, Fortran 77
programs are valid as fixed-form Fortran 95.There is a way for a valid f77 program to be invalid f95. The f77 program may have included a function with the same name as an intrinsic function new in f90 or f95,
but with quite different arguments, if it did not have to be labelled EXTERNAL where it was used.
On Monday, May 16, 2022 at 10:26:21 AM UTC-7, asusa...@gmail.com
wrote:
program convert in fortran 77 to fortran 95
There was once, and I presume still is, a program to convert Fortran
77 to free-form Fortran 90 or 95.
Most people (but not programs) writing fixed-form Fortran will put in
blanks between keywords and variable names, for readability.
The conversion program that I knew years ago, only knew about actual
Fortran 77 keywords. It would not generally convert fixed form to
free form, for programs with newer keywords.
As fixed form is still allowed in newer Fortran versions, it would be
nice to have a program that could convert even later versions, though
with the restrictions on blanks. (No blanks in the middle of keywords
or identifiers, and at least one between them.)
Otherwise, except for a small number of deleted features, Fortran 77
programs are valid as fixed-form Fortran 95.
It would also be nice to have a program that would convert some
obsolescent features to the appropriate newer form.
On Monday, May 16, 2022 at 10:26:21 AM UTC-7, asusa...@gmail.com wrote:
program convert in fortran 77 to fortran 95
There was once, and I presume still is, a program to convert Fortran 77 to free-form Fortran 90 or 95.
Most people (but not programs) writing fixed-form Fortran will put in blanks between keywords and variable names, for readability.
The conversion program that I knew years ago, only knew about actual
Fortran 77 keywords. It would not generally convert fixed form to free
form, for programs with newer keywords.
As fixed form is still allowed in newer Fortran versions, it would be nice
to have a program that could convert even later versions, though with
the restrictions on blanks. (No blanks in the middle of keywords or identifiers, and at least one between them.)
Otherwise, except for a small number of deleted features, Fortran 77
programs are valid as fixed-form Fortran 95.
It would also be nice to have a program that would convert some
obsolescent features to the appropriate newer form.
program convert in fortran 77 to fortran 95
program convert in fortran 77 to fortran 95
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 159 |
Nodes: | 16 (0 / 16) |
Uptime: | 99:41:02 |
Calls: | 3,209 |
Files: | 10,563 |
Messages: | 3,009,957 |