LF Fortran 95

Command Files

If you have too many options and files to fit on the command line, you can place them in a command file. Enter LF95 command line arguments in a command file in exactly the same manner as on the command line. Command files may have as many lines as needed. Lines beginning with an initial # are comments.

To process a command file, preface the name of the file with the @ character. When LF95 encounters a filename that begins with @ on the command line, it opens the file and processes the commands in it.


LF95 @mycmds

In this example, LF95 reads its commands from the file mycmds.

Command files may be used both with other command-line options and other command files. Multiple command files are processed left to right in the order they are encountered.