Programs in Physics & Physical Chemistry
|[Licence| Download | New Version Template] aadi_v1_0.gz(3 Kbytes)|
|Manuscript Title: FIXSRC: a Fortran preprocessor.|
|Authors: J.W. Brown, S.B. Hooker|
|Program title: FIXSRC|
|Catalogue identifier: AADI_v1_0|
Distribution format: gz
|Journal reference: Comput. Phys. Commun. 38(1985)435|
|Programming language: Fortran.|
|Operating system: VMS.|
|RAM: 8K words|
|Word size: 32|
|Keywords: General purpose, Utility, Fortran, Preprocessor.|
Nature of problem:
Programming style and documentation is greatly enhanced by some rather simple extensions to Fortran-77. In particular, the ability to comment in-line and use upper- and lower-case improves readability and understanding. Unfortunately, these enhancements limit portability since Fortran compilers vary widely in the syntax and character sets they support . A program is presented that converts an extended Fortran card deck to a format acceptable to standard conforming Fortran-77 compilers.
Cards are read one at a time from an input file, processed to remove FORTRAN extensions, and written to an output file.
The card deck format is assumed to consist of 80 character records with columns 1-72 containing source code and columns 73-80 a sequence field.
Compilation: 20 s, execution: 2500 card images per minute.
|Disclaimer | ScienceDirect | CPC Journal | CPC | QUB|