Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Error without code

elf
Novice
1,152 Views
Why doesn't the following error show its number so that I can understand it better. Error: Constants and expressions are invalid in a read-only I/O lists. So can anyone tell me what does this error mean? Thanks in advance



Alvin
3 Replies
Intel_C_Intel
Employee
1,152 Views
I presume that it's caused by an invalid entry within Open file statement (if it's specified as ReadOnly no value is taken). If you put more details somebody (definitely) will help you with that.
0 Kudos
Steven_L_Intel1
Employee
1,152 Views
I don't think either the Compaq or the Intel compilers have numbers for error messages. My guess is that this refers to a READ statement - such as trying to READ into a constant or an expression. Which compiler and version are you using and what statement did it complain about?

Steve
0 Kudos
Intel_C_Intel
Employee
1,152 Views
elf,

Steve's guess (as always:-)) is far better than mine.

Artur
0 Kudos
Reply