[fpc-devel] Purpose of "uses ... in"?

Zaher Dirkey parmaja at gmail.com
Tue Jul 20 19:57:39 CEST 2010


uses

>    myunit in '..\lib\myunit.pas',
>
> it is no need to change it even in the search path.
>
>
I meant my project have folders like
/proj/bin
/proj/src
/proj/lib
i can move the dir /proj or my component package to any dir without need a
changes.

The other way we can use extrafpc.cfg, we can put relative path in
"-Fu..\lib", but if you use units of packages you need to put many of pathes

Best regards
-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100720/b1b35b74/attachment.html>


More information about the fpc-devel mailing list