[fa.info-vax] Splitting of Fortran programs; NAMELISTs

info-vax@ucbvax.ARPA (05/06/85)

From: walton%deimos@cit-hamlet.arpa

1.   Since you posted the message about the Software Tools Mail System
    to	the  net  (I  believe),  I'm  suprised	you  don't  know about
    "sepfor", which is a Tools Ratfor program to split monster Fortran
    programs into smaller pieces.

2.  NAMELISTs are a way of inputting data to a Fortran program by name
    of variable.  One says something like

    NAMELIST/FOO/I, J, A, B, C

    then, the statement

    READ (5, FOO)

    expects an input line like

    I=5 J=3 A=5.32 C='HELLO'

    This may not be completely correct - it has thankfully been a long
    time since I used IBM Fortran.  VMS Fortran does compile Hollerith
    constants  in  code  OK, but it wouldn't surprise me if it doesn't
    handle  them  in  NAMELIST	statements.  Holleriths aren't part of
    Fortran-77 anyway.

					Stephen R. Walton
					walton%deimos@cit-hamlet.arpa
					swalton@deimos.bitnet