Here is a strange one...
I have a prog on 40X1 that takes over 4000 bytes. It has been a long project and after getting it all working to my satisfaction I wanted to tidy up the comments in it.
After getting the comments all nice and tidy I did a syntax check to make sure I hadn't inadvertently made a mess of anything. The reality was worse than my fears.
I got an Error: Unknown symbol message when I did the syntax check. I tried replacing the symbol with a number and then it checked past this point and trips up at a later 'Unknown Symbol'. I knew that all I had changed in the program was the comments and the order in which the symbols are declared. Hence I removed some comments from the program until the syntax check ran without error. Sounds good. Unfortunately then I noticed that the syntax check reports the program size as 5 bytes (and no, I didn't have to remove 3995 bytes of the program to get it to compile, only comments).
Does anyone else think this is really weird?
I have scoured the forum for anything on this. The most relevant thing I found was a thread entitled: "Syntax error, but code is old". After reading this I cut & pasted the text into each of Notepad, Wordpad and MS Word then pasted back into Progeditor. In each case the program remains corrupt.
Upgrading from Progeditor 5.2.0 to 5.2.2 didn't help.
Any Ideas?
I thought of posting the code, but it is large and would need cut into about 5 bits to post it. Also, I think there is nothing visually wrong with it.
PS: I have attached it (change extension to .bas). It doesn't compile. Remove lines 1270-1287, THEN remove lines 303-352. Now it compile but reports size as 5 bytes!
View attachment TESTRIG-FUNCTIONAL_R122_temp.txt
I have a prog on 40X1 that takes over 4000 bytes. It has been a long project and after getting it all working to my satisfaction I wanted to tidy up the comments in it.
After getting the comments all nice and tidy I did a syntax check to make sure I hadn't inadvertently made a mess of anything. The reality was worse than my fears.
I got an Error: Unknown symbol message when I did the syntax check. I tried replacing the symbol with a number and then it checked past this point and trips up at a later 'Unknown Symbol'. I knew that all I had changed in the program was the comments and the order in which the symbols are declared. Hence I removed some comments from the program until the syntax check ran without error. Sounds good. Unfortunately then I noticed that the syntax check reports the program size as 5 bytes (and no, I didn't have to remove 3995 bytes of the program to get it to compile, only comments).
Does anyone else think this is really weird?
I have scoured the forum for anything on this. The most relevant thing I found was a thread entitled: "Syntax error, but code is old". After reading this I cut & pasted the text into each of Notepad, Wordpad and MS Word then pasted back into Progeditor. In each case the program remains corrupt.
Upgrading from Progeditor 5.2.0 to 5.2.2 didn't help.
Any Ideas?
I thought of posting the code, but it is large and would need cut into about 5 bits to post it. Also, I think there is nothing visually wrong with it.
PS: I have attached it (change extension to .bas). It doesn't compile. Remove lines 1270-1287, THEN remove lines 303-352. Now it compile but reports size as 5 bytes!
View attachment TESTRIG-FUNCTIONAL_R122_temp.txt