Hi everyone.
I've just spent the best part of two hours trying to solve this problem without joy. When I compile my project which has an error in it, the compiler highlights the wrong line. The same goes for when I use breakpoints - they do not apply to the line that I have selected. For example, if I were to highlight the line if filesize > 0 then......, the compiler would highlight a different line (about 3 lines above the "proper" line (which may actually be a comment!).
I have tried to copy all of my units into Notepad and then back into Delphi in order to clear up any loose line breaks/carriage returns but to no avail. I've also tried Building the project but that has had no effect either. Basically any advice that has been given pertaining to this problem on the internet I've tried!
I'm using Delphi 7 on Windows XP Pro. I have also used Delphi 5 on a friend's computer at times which also runs Windows XP Pro. However, until now, I haven't had this problem.
I have uploaded my project to in case any kind soul can spare some time to have a look at it and see what I'm missing!
Any help you can offer will be much appreciated! What a bad time for Delphi to fail me! This project should have been completed two weeks ago!!
Thank you very much in advance.
I've just spent the best part of two hours trying to solve this problem without joy. When I compile my project which has an error in it, the compiler highlights the wrong line. The same goes for when I use breakpoints - they do not apply to the line that I have selected. For example, if I were to highlight the line if filesize > 0 then......, the compiler would highlight a different line (about 3 lines above the "proper" line (which may actually be a comment!).
I have tried to copy all of my units into Notepad and then back into Delphi in order to clear up any loose line breaks/carriage returns but to no avail. I've also tried Building the project but that has had no effect either. Basically any advice that has been given pertaining to this problem on the internet I've tried!
I'm using Delphi 7 on Windows XP Pro. I have also used Delphi 5 on a friend's computer at times which also runs Windows XP Pro. However, until now, I haven't had this problem.
I have uploaded my project to in case any kind soul can spare some time to have a look at it and see what I'm missing!
Any help you can offer will be much appreciated! What a bad time for Delphi to fail me! This project should have been completed two weeks ago!!
Thank you very much in advance.