[Lazarus] Question {%MainUnit} IDE directive

zeljko zeljko at holobit.net
Wed Dec 31 16:26:33 CET 2014


On 12/31/2014 03:59 PM, Vojtěch Čihák wrote:
> Hello,
>
> 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.

No, LCL sources uses %MainUnit and I've never spotted such problem.
eg. look into lcl/include/dbmemo.inc. (or any other include file in 
lcl/include and it's same - use slash.

zeljko

>
> I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there.
>
> Thanks.
>
> BTW, Happy new year !
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list