FORTRAN Reference Manual

Compile-Time Diagnostic Messages
FORTRAN Reference Manual528615-001
F-26
Error Messages
Cause. A statement function has the same name as another statement function or a
variable. Note that any statement of the form
name (anything) = anything
is taken as a statement function definition if the name has not been declared as an
array.
Recovery. Rename the statement function, or correct the statement if the name is a
misspelled array name.
Cause. A statement other than a declarative statement or a DATA statement appears
in a block data program unit. Note that RECORDs cannot be declared in block data
program units because they cannot be initialized with DATA statements.
Recovery. Delete the invalid statement.
Cause. The dependent statement of a logical IF statement is a DO statement, another
logical IF statement, or an END statement, none of which is allowed.
Recovery. Correct the statement.
Cause. A main program contains an ENTRY statement, which is not allowed.
Recovery. Correct the source program.
STATEMENT FUNCTION NAME NOT UNIQUE
STATEMENT NOT ALLOWED IN BLOCK DATA
STATEMENT NOT ALLOWED IN LOGICAL IF
STATEMENT NOT ALLOWED IN MAIN PROGRAM