[Lazarus] Line Ending FPC/Delphi

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Mar 5 15:50:47 CET 2009


In my projects I usually have a file with only general constants,
which is added by all others. In this file I add the following
declaration:

{$IFNDEF FPC}
const
  LineEnding = #10#13;
{#endif}

The Virtual Magnifying Glass is a medium sized project which is
compilable with Lazarus and Delphi. It may be useful for you to take a
look at it's source code:

http://sourceforge.net/projects/magnifier

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list