2.9 Using KAP Syntax

Specify switches in lowercase with the syntax -switch[=value] . Do not leave spaces between the switch name and the value. Switches can appear before or after the input file as follows:

kapf -inm  myprog.f  -roundoff=2

KAP recognizes standard abbreviations for switches. Switches that take a list of names must have the names separated by commas and with no spaces. For example:

 -inff=besl.f,util.f

Enclose KAP command switches passed through kf77 by using the -fkapargs switch with single quotation marks, as follows:

kf77 -fkapargs='-optimize=5  -roundoff=3  -scalaropt=3' -w myprog.f

Fortran compiler switches, for example, -w , do not require quotation marks.


Previous Page | Next Page | Contents | Index |
Command Line Switches