Interpretation
of
Detected
Errors
76
The
summary
includes information
about
possible sources of error
not
detectable
in
individual source statements,
and
is
in
the
form of fbur
alphabetic
messages
together
with
related
lists, as follows:
UNDEFINED
STATEMENT
NUMBERS
nnnn
n n
nn
...
The
numbers
listed
are
those which
have
not
been
used for
statement
identifica-
tion
but
have
been
referenced
by
transfer or
DO
statements.
UNREFERENCED
STATEMENT
NUMBERS
nnnn
n n n n
...
The
numbers
listed
are
those which
have
been
used
for statement identification
but
have
not
been
referenced
by
transfer or
DO
statements. These
numbers
are
not necessary to
the
compilation of
the
source
program
and
may
be
eliminated.
RELOCATABLE
SUBROUTINES
CALLED
LOG
SIN
EXP
SQRT
The
names listed
are
those of
the
functional subroutines used in
the
source
program.
OBJECT
PROGRAM DATA TABLE
XXX
XX
STORAGE POSITIONS
The
number
of storage positions given includes those used for variables, con-
stants,
and
statement
numbers,
but
not
the
total
number
of storage positions
that
will
be
required
in
the
FORTRAN
object program, since this depends
upon
the
number
of
machine
instructions
produced
when
the
source program is compiled.
Premature
typing of
the
summary indicates
that
the
END
statement
appears
earlier
than
anticipated in the source program. Conversely,
if
the
END
statement
has
been
omitted,
the
summary will
not
be
typed.
If
statement
number
999
is
used
it
will cause errors in
the
final
program
summary. However, no damage will
be
done
to
the
Pre-Compiler.
An expression
may
appear
so
ambiguous to
the
Pre-Compiler program
that
any
of several possible errors
might
be
detected.
For
example in
the
expression
ABE(C+D)
.
if
ABE
is
not
the
name
of a function,
and
has
not
been
defined previously in
the
program,
it
might
be
regarded
as a subscripted variable name
with
subscripts
written
in
an
unacceptable form.
When
the
name
ABE
has
been
defined as a non-
subscripted variable, however,
the
obvious error is
that
of omission of
an
opera-
tion symbol.
Conditions which
might
possibly
lead
to error have
been
assigned error
codes or
are
noted
in
the
final summary.
The
fact
that
a
statement
is
indicated