Sample Fortran files
----------------------------------------------------------------------

1. Analyzing sample files using the GUI.

If you'd like  to analyze the sample files in this directory using the
FortranLint GUI, install the GUI and proceed as follows:

      * Select Project -> New (or press the New Project image button)

      * Select File -> Add File (or press the Add Files text button)

      * Add "demo77.f" or "demo90.f90" to the new project

      * Select Process -> Analyze Files  (or press  the  Analyze Files
        image button)

----------------------------------------------------------------------

2. Analyzing sample files from the command line.

If you'd like to analyze the  sample files in this directory  from the
command line,  you'll need to set  three environment variables (FLINT-
HOME, FLINTHOST, and PATH).  After installing the GUI package, proceed
as follows:

      (a) Set the  environment variable  FLINTHOME to a  full path for
          the directory  that contains the  "flint" executable  (under
          UNIX) or the "flint.exe" executable (under MS-Windows).

      (b) Add the FLINTHOME directory to your PATH:

          "csh" users:     set path = ( . $FLINTHOME $path ) ; rehash

          "sh"  users:     PATH=.:$FLINTHOME:$PATH

          Windows NT/2000: PATH %FLINTHOME%;%PATH%

          Windows 98:      PATH "%FLINTHOME%;%PATH%"

          Note:  Under Windows 98,  you may need to use double quotes,
          as shown here.

      (c) Under UNIX,  you also need to  set the  environment variable
          FLINTHOST.  For most users,  FLINTHOST will be equal  to the
          hostname of the system where FortranLint  is installed.  For
          example:

          "csh" users:     setenv FLINTHOST sylvester

          "sh"  users:     FLINTHOST=sylvester ; export FLINTHOST

          For more information  on the  FLINTHOST variable,  go to the
          "doc" directory and see  Appendix A of the  FortranLint man-
          ual.

      (d) Under MS-Windows, execute the batch file "demo77.bat" (for a
          FORTRAN 77 test) or "demo90.bat" (for a Fortran 90 test).

      (e) Under UNIX,  execute  the  shell script  "demo77.sh"  (for a
          FORTRAN 77 test) or "demo90.sh"  (for a Fortran 90 test).
