README.md





Ratfiv


Ratfiv is a structured Fortran preprocessor providing
SWITCH, IF - ELSE, WHILE, FOR, DO, REPEAT - UNTIL, STRING,
and BREAK and NEXT constructs. Also supported are INCLUDE
files, DEFINE for symbolic constants and macros with
arguments, conditional compilation, use of >, <, etc.
instead of .GT., .LT., etc, and the RETURN VALUE construct
in functions.

Ratfiv was developed from the Ratfor compiler
distributed by Lawrence Berkely Labs; the major
enhancements in it are:

1. Ability to specify a format statement inside READ,
WRITE, ENCODE, and DECODE statements;

2. True line continuation using the underline
character;

3. Production of properly indented upper case Fortran
code with comments passed through;

4. Addition of a /SYMBOLS switch to the command line
to specify reading of the SYMBOLS file;

5. Incorporation of a powerful, easy to use macro
processor;

6. Conditional compilation of large blocks of code;

7. Correct line number reporting;

8. Exit with error status if an error occurs during
compilation;

9. Use of character constants in case labels.

10. Ratfiv keywords need not appear at the beginning of
a source line in order to be recognized.


This version of Ratfiv may be used if you want to
compile the Ratfiv source to the other programs written in
Ratfiv on this tape.

To build Ratfiv, do

@BUILD

Documentation is in the file RATFIV.DOC.


Page 2



Send comments, problems, etc. to:

William Wood
Institute For Cancer Research
7701 Burholme Ave.
Philadelphia, PA. 19111
(215) 728 2760