[fpc-pascal] uses myunit in '../src/myunit.pas' ?
fiens at hotmail.com
Mon Feb 13 14:32:02 CET 2017
OK, thanks, I will take a look.
>I don't see the point at all.
I will show you later TLoadlibrary(), maybe you will see better then.
Huh, and what about: ?
>> But thinking that the compiler itself will automagically determine the
>> path: that's simply not realistic.
> Really ?
> When the compiler reads uses section and find a "in" like here :
> uses myunit in '/thepath/src/myunit.pas';
> He could do something like:
> if fpcword = 'in' then begin
> IncludeSearchPath((ExtractFilePath('/thepath/src/myunit.pas'); // this
Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727644.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal