Board index » delphi » "Line too long" Error

"Line too long" Error

Hello,

I am trying to compile a delphi application but am getting error:
"Line to long"(more than 1023 characters).The complier points the
error to a particular line where I make a simple assingment..
Does anyone know why this happens? Any help would be appreciated.

Thanks,
Kas.

 

Re:"Line too long" Error


The "location" of such an error is probably meaningless; it's just where
Delphi gave-up.  Look at preceding lines.

Is this "about 1,023 characters from the start of the file?"

Could this file contain (say) LF-only line separators where there should
be CR/LF?  For instance?

Quote
> I am trying to compile a delphi application but am getting error:
> "Line to long"(more than 1023 characters).The complier points the
> error to a particular line where I make a simple assingment..
> Does anyone know why this happens? Any help would be appreciated.

Re:"Line too long" Error


"Kas" <kas...@yahoo.com> a crit dans le message
news:
a9fd750a.0105291049.6ec7e...@posting.google.com...

Quote
> Hello,

> I am trying to compile a delphi application but
am getting error:
> "Line to long"(more than 1023 characters).The

complier

You've probably forgotten to close a string or
left something out of the syntax

John

Re:"Line too long" Error


Quote
"Kas" <kas...@yahoo.com> wrote in message

news:a9fd750a.0105291049.6ec7e453@posting.google.com...

Quote
> Hello,

> I am trying to compile a delphi application but am getting error:
> "Line to long"(more than 1023 characters).The complier points the
> error to a particular line where I make a simple assingment..
> Does anyone know why this happens? Any help would be appreciated.

One way of fixing this problem that I've seen reported is to load the pas
file into Notepad and save it. (Make a backup first :)).

Other Threads