[fpc-pascal] uses myunit in '../src/myunit.pas' ?

fredvs fiens at hotmail.com
Tue Feb 14 20:45:07 CET 2017

>> I hope that I will not annoy you anymore (but where to ask then). 
> On the contrary; I found it quite amusing. ;) 

Yep, thanks Tim, I feel better now, I will continue to amuse you (and
Michael too, see follow) ;-)

> ... embarking on a mission to request a compiler extension. No more, no
> less. 

Yes and that mission is to adapt that un-liked "in" for something more

I propose this:

uses myunit in '../src/myunit.pas';  => like now, do not touch anything at

uses myunit in '../src/';  => when no filename is defined but only a
directory, add this directory in search-path like it was -Fumyunit and
threat myunit like other units without "in".


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727666.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list