bdn.borland.com

Article #29050: Mystery errors compiling Delphi project.

Question:

Why am I getting errors on lines where there are no errors or on lines that do not exist?

Answer:

This can occur is there are hidden characters in the .pas file.
The simplest way to fix it is to open the file in a text editor such as Wordpad, add a space anywhere to be sure it resaves the file and then close the file. Then try reopening and compiling in Delphi.

Last Modified: 30-AUG-02