> Even my name is written wrong. Sorry Mattias, really.
I should use a other way to dialog, I agree it was not fun. And I will not use directive inside code (even if it is very wow). For close the débat, the "$UNITPATH" way works only if you add this on the used units: for example in the program: program myprogram; {$UNITPATH ../../src} uses unita; and in the unit: unit unita; {$UNITPATH ./} // this add uses unita2; Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727658.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal