Compiler error on wrong line



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 this newsgroup I've tried!

I'm using Delphi 7 on Windows XP Pro. I have also used Delphi 5 on our
college computers at times which also run Windows XP Pro. However,
until now, I haven't had this problem.

I have uploaded my project to www.2312.co.uk/project.rar 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.

.



Relevant Pages

  • Compiler error on wrong line
    ... compiler highlights the wrong line. ... the compiler would highlight a different line (about 3 lines above the ... I'm using Delphi 7 on Windows XP Pro. ...
    (alt.comp.lang.borland-delphi)
  • Alternative Future of Delphi?
    ... relevant compiler or interpreter... ... No more intricate code generation required for a particular platform ... on the Delphi compiler side. ...
    (borland.public.delphi.non-technical)
  • Re: Which Delphi Version To Buy
    ... Given the fact that Delphi compiler is quick and small, do you see feasible having a runtime compiler/parser enabling what you describe above? ... For example the basic data types processing in Delphi is sensibly superior to .NET's one exactly because is closer to the iron. ... Well, for parallel programming I, for one, certainly feel the need of a VM simply because the actual CPU architecture is far from the way in which humans deal with the reality which is parallel. ... The vast majority of the games you have to deal with /different/ characters doing /different/ actions in parallel, responding each one to the stimuli which comes from the environment. ...
    (borland.public.delphi.non-technical)
  • Re: Version after Version
    ... merely because Delphi has no 64-bit compiler? ... >> targeted instructions and increasing the size of the cache to 32,000 ... >> That has nothing to do with the number of address lines on the CPU ...
    (alt.comp.lang.borland-delphi)
  • D7 revival? stirring the old pot + Delphi 64 suggestion
    ... The new compiler, but with the old IDE, the old help. ... You can check other areas of the site and poster stats, it's not that Delphi posters don't use .Net, it's just that they don't use Delphi for .Net work. ... As for the 64bit debugging, a CPU view debugger would be all that is really needed to get things started (this is for fastcode after all), no need for rich source-level debugging, inspectors, etc. early on. ... Validation could be two-ways: one in the fastcode challenge, another made via CodeGear private unit tests. ...
    (borland.public.delphi.non-technical)