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.
?
I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there. ?
Thanks.
?
BTW, Happy new year !?
?
?
Mailing lists / lazarus / 2014-12
Question {%MainUnit} IDE directive
4 messages · 4 people · –
- JJuha Manninen 1
- MMattias Gaertner 1
- VVojtěch Čihák 1
- Zzeljko 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Vojt?ch ?ih?k wrote 8 lines
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
Show quoted text 15 lines
I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there.
Thanks.
BTW, Happy new year !
--
_______________________________________________
Lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
? I have a small question about this directive. ? If I use: {%MainUnit ../umain.pas} ? is…
Vojt?ch ?ih?k wrote 6 lines
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
Show quoted text 5 lines
[...]
> 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.
Done.
Mattias
