[fpc-pascal] uses myunit in '../src/myunit.pas' ?
fredvs
fiens at hotmail.com
Mon Feb 13 16:39:21 CET 2017
> The compiler already does this.
Huh, then..., sorry, but there is a bug, it does not work. :-(
> The 'in' construct was/is a serious contender for "the worst idea ever" of
> Borland.
If "the compiler already does this" (adding the path of the unit into the
search-path list), IMO, the use of "in" should be:
uses myunit in '../src'; (in place of '../src/myunit.pas'; )
But that does not work.
I agree "in" is strange.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727646.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list