Arithmetic
Statements
Variables
in
Arithmetic
Expressions
DO Loops
Constants
Variables
in
arithmetic
statements
DO
loops
Constants
Statement
numbers
Transfer statements
G~neral
When
an
error
is detected, an error
code
is
typed
on
the
console typewriter.
This
code
consists of
an
alphabetic abbreviation of
one
of
the
categories listed
above, followed
by
a
number
that
designates
the
particular
error
in
the
category.
ARITH
1.
Unacceptable
form to left of
==
sign.
2.
Multiple
==
signs.
3. This
code
has
been
deleted.
4.
Successive operation symbols, or a function which is followed
by
an
opera-
tion symbol.
5.
Missing operation symbol or operand.
6.
Right
parenthesis encountered
before
corresponding left parenthesis.
7.
Missing
right
parenthesis.
8.
Mixed
mode
expression (expression contains fixed
and
floating
point).
9.
No
variable
to
the
left of
equal
sign.
10.
Involution of a fixed
point
variable or constant.
VAR
1.
Variable
name
longer
than
5 alphameric characters.
2.
Variable
appearing
in
an
expression or as a subscript
not
previously de-
fined
in
an
input
statement; as
the
index of a
DO
loop;
or
defined as
the
left side
of
another
arithmetic statement.
3. Variable
written
with
a subscript has
not
been
previously defined
in
a
DIMENSION
statement.
4.
Variable previously defined
in
a
DIMENSION
statement
has
not
been
sub-
scripted correctly: subscript is
in
unacceptable
form,
number
of sub-
scripts does
not
agree
with
the
number
specified
in
DIMENSION
statement,
numerical subscript is greater
than
maximum allowed
by
DIMENSION
state-
ment
or
is less
than
1.
DO
1.
In
the
statement
DO
n i
==
m],
m
2
,
m,J,
the
indices
m},
m
2
,
and
m.
l
,
if
given,
are
not
all
unsigned
fixed
point
variables or constants
greater
than
zero.
There
are
more
than
3 indices given.
2.
The
second
index, m
2
,
is less
than
mJ,
when
botq
are
constants.
3.
The
third
index, m.
l
,
is signed, is zero,
or
is missing
when
specified as a
constant.
4.
The
statement
number
n
is
not
in
acceptable
form or is missing.
5.
The
variable
name
has either
been
omitted, or is incorrectly stated, or
the
DO
statement
is incorrect.
6.
The
statement
specified
as
the
end
of
an
outer
loop
in
a
nest
of DO'S has
been
found
before
an
inner
loop is complete.
7.
A
DO
loop terminates
with
a transfer statement,
GO
TO,
computed
GO
TO,
or
IF.
CONST
1.
Fixed
point
constant longer
than
4 digits.
2.
Floating
point
constant outside
the
allowable range.
3.
Decimal
point
omitted
from floating
point
constant
that
is
written
with
a
decimal exponent.
The
FORTRAN
Pre-Compiler Program
73