File: sect2.html

package info (click to toggle)
ftnchek 2.11.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,392 kB
  • ctags: 2,790
  • sloc: ansic: 21,570; fortran: 2,921; yacc: 2,794; sh: 1,623; makefile: 693; lisp: 264; awk: 163
file content (29 lines) | stat: -rw-r--r-- 1,545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<HTML>
<HEAD>
<TITLE>Description</TITLE>
</HEAD>
<BODY>
<A HREF="toc.html">Table of Contents</A><P>
<P>Previous: <A HREF="sect1.html">Synopsis</A><HR><P>
<H2><A NAME="sect2" HREF="toc.html#toc2">Description </A></H2>
<P>
<B>ftnchek </B> (short for Fortran checker) is 
designed to detect certain errors in a Fortran program that a compiler 
usually does not. <B>ftnchek </B> is not primarily intended to detect syntax errors. 
 Its purpose is to assist the user in finding semantic errors.  Semantic 
errors are legal in the Fortran language but are wasteful or may cause 
incorrect operation.  For example, variables which are never used may indicate 
some omission in the program; uninitialized variables contain garbage 
which may cause incorrect results to be calculated; and variables which 
are not declared may not have the intended type. <B>ftnchek </B> is intended to 
assist users in the debugging of their Fortran program.  It is not intended 
to catch all syntax errors.  This is the function of the compiler. Prior 
to using <B>ftnchek </B>, the user should verify that the program compiles correctly. 
<P>
This document first summarizes how to invoke <B>ftnchek </B>. That section should 
be read before beginning to use <B>ftnchek </B>. Later sections describe <B>ftnchek 
</B>'s options in more detail, give an example of its use, and explain how 
to interpret the output.  The final sections mention the limitations and 
known bugs in <B>ftnchek </B>.  
<P><HR><P>Next: <A HREF="sect3.html">Invoking Ftnchek </A>
</BODY></HTML>