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
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to