[fpc-pascal] uses myunit in '../src/myunit.pas' ?
fredvs
fiens at hotmail.com
Tue Feb 14 00:47:38 CET 2017
> You mean a duplicate of this page
;-)
Excellent, thanks.
To resume:
This works (Michael way):
program p;
uses
unita2 in 'Documents/unita2.pp',
unita in 'Documents/unita.pp';
begin
end.
-------------------------------------------------
This works (Mathias way):
program p;
{$unitpath Documents}
uses
unita;
begin
end.
----------------------------------------------------
This work only if changing something in compiler (Fred way):
program p;
uses
unita in 'Documents/unita.pp';
begin
end.
-----------------------------------------------------
IMO, the winner is...
Mathias.
Congratulation Mathias, you come late, but you win.
Many thanks for that great battle.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/uses-myunit-in-src-myunit-pas-tp5727626p5727656.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list