Re: Line too long ???



"Stark" <franco.jommi@xxxxxx> schreef in bericht
news:470fad4a$0$4798$4fafbaef@xxxxxxxxxxxxxxxxxxxxxx
This time I copied everything to the Notepad, made my chages there and
saved as a .txt file. The I renamed it .pas and Delphi was happy and it
compiled ok. I still need to understand what I should do to prevent this
thing..


I don't think you did anything wrong. Just bad luck. Most likely one of your
line-breaks was messed up. Lines should be terminated with #13#10. When one
of the two is missing and you have for instance only a #13, the IDE editor
will get terribly confused. Notepad handles this situation much better, and
corrects the line-breaks. That's why the file that Notepad saved can be
compiled without problems.
Tom


.



Relevant Pages

  • Re: Hutter Prize
    ... Delphi only can do that from the heap. ... C is equivalent to Pas 100%. ... both dynamic or static, stack or heap. ...
    (borland.public.delphi.non-technical)
  • Re: Wie finde ich den Fehler?
    ... > Desweiteren sollte man das erstellen von den ~pas Dateien abstellen. ... > hatte es auch schonmal, dass Delphi durcheinander kam, mit den ... Next by Date: ...
    (de.comp.lang.delphi.misc)
  • Re: Large public source archives? Delphi file extensions?
    ... > public Delphi source archives - I will test my tool on them. ... > Right now I know only four such extensions: PAS DPR DPK INC ... Probably over 99% of all Delphi code ever written is in a PAS ...
    (borland.public.delphi.language.objectpascal)
  • C/C++ and Delphi compatibility in DeXter
    ... Does anyone know what degree of language inter-operability (between Delphi ... Are they sharing the .dcu file format? ... If you can't mix .pas and .c files in the same project, ...
    (borland.public.delphi.non-technical)