NAGWare Fortran Tools - f77 Tools - nag_polish

 

Index

NAME
DESCRIPTION
OPTIONS
SEE ALSO
 

NAME

nag_polish - Polisher

 

DESCRIPTION

nag_polish is the NAGWare f77 Tools pretty printer or polisher. This tool reformats a Fortran 77 program according to a standard layout. There is a large number of parameters that control the appearance of the reformatted program. These may be be set by the user through the use of a polish options file which can be created or edited using the nag_polopt command. However the default settings may be suitable for most applications.

The user can configure, if required, almost every aspect of spacing within statements and between statements. Indentation, relabelling and the breaking of long statements into continuation lines is handled automatically according to default or user supplied criteria. This tool can optionally add labelled CONTINUE statements to terminate every DO loop. The position and labelling of FORMAT statements can also be specified. These and other features are described in detail in nag_polopt.

Upon successful completion each input file is backed up to file.orig and is replaced by the output file.

 

OPTIONS

None

 

SEE ALSO

nag_polopt

Copyright, Numerical Algorithms Group, Oxford, 1991-2001