Error without code

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


4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

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?


Retired 12/31/2016


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


Leave a Comment

Please sign in to add a comment. Not a member? Join today