Weird error message
- Posted by alrobnett Jan 15, 2019
- 909 views
I have a program of about 300 lines which was working perfectly. After making a few minor changes I began getting the following error message between a position() and a puts() statement, which didn't make sense:
"expected a variable, constant or enum, not a function"
I began commenting out successively more and more lines, but always got the same message, just before whatever was commented out.
Restarting the computer made no difference.
In reviewing the program, I found the letter 'e' appended at the end of some lines, scattered in what appears to be a random way through the program. Removing those did not solve the problem.
Do I need to replace the interpreter?