This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error: must operate on two scalar (not array) subexpressions


Hello all,

First off, I hope I'm in the right place.  I'm working on a project
to put a DOS based system on the web. This system was written in
FORTRAN-77 (not by me) and compiled with Salford's FTN77. I'm trying
to compile this source code using g77 and get the following error:

CALC401K.FOR:194:
         IF(UNTYPE.EQ.'XX  ') GOTO 171
                  1   2
Equality operator at (1) must operate on two scalar (not array)
subexpressions, two function invocations returning arithmetic or character
scalars, or a combination of both -- but the subexpression at (2) is an
array

UNTYPE is Declared as:

COMMON/UNTYPE/UNTYPE


Any help would be greatly appreciated, I've tried different compiler
options and have not had any luck.

thanks in advance,
andy


Andrew Stone
XML Architect/Developer
BrightLane, a TeamStaff Inc. Company
Office: 678-385-2823

Andrew Stone
XML Architect/Developer
BrightLane, a TeamStaff Inc. Company
Office: 678-385-2823


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]