[Lazarus] Question {%MainUnit} IDE directive

Juha Manninen juha.manninen62 at gmail.com
Wed Dec 31 16:50:40 CET 2014


On Wed, Dec 31, 2014 at 4:59 PM, Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:
> I have a small question about this directive.
>
> If I use: {%MainUnit ../umain.pas}
>
> is it problem when someone will open this project under Windows?
> I mean slash / backslash.

The IDE supports slash also on Windows. No problem.


> I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there.

Right, the page should be updated. The directive is valid only in .inc
files which must be mentioned.


> BTW, Happy new year !

Yes, Happy new Year 2015 for everybody.

Regards,
Juha




More information about the Lazarus mailing list