Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
46 Views

Error without code

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
0 Kudos
3 Replies
Highlighted
Employee
46 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
Highlighted
46 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
Retired 12/31/2016
0 Kudos
Highlighted
Employee
46 Views

elf,

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

Artur
0 Kudos