DelphiFAQ Home Search:

Line too long (more than 1023 characters)


comments2 comments. Current rating: 2 stars (1 votes). Leave comments and/ or rate it.

When I try to compile, I suddenly get this error message:

Line too long (more than 1023 characters).

- but I cannot find any line to have more than 120 characters.


Most likely you imported your source file from a CVS on a Unix machine, or you used an editor, that saves Unix style line separators. This will confuse Delphi. Homesite is a tool that will do this to you, I found.

Your line separators of #10s must be replaced by #13#10 as it is standard in DOS/ Windows.

In my case, I used Homesite to convert to Windows style documents.
Content-type: text/html


2006-10-06, 18:10:46 from Colombia  
Falta decir donde se puede encontrar la herramienta....Me indicas por favor.
2014-01-20, 09:45:09   (updated: 2014-01-20, 09:46:43)
anonymous from Brazil  



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: