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

Zaher Dirkey parmaja at gmail.com
Sun Jul 18 14:48:46 CEST 2010


On Sun, Jul 11, 2010 at 11:21 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:

>
> On 11 Jul 2010, at 15:47, Hans-Peter Diettrich wrote:
>
> > I know that the "in <filespec>" is part of the Delphi syntax, but what is
> it really good for?
> >
> > AFAIK it's not allowed to "rename" units this way, and since (currently)
> only absolute filenames are implemented,
>
> That is incorrect. Relative file names do work. They are resolved relative
> to the current working directory of the compiler.
>
>
It is more useful if relative to same directory of the current file, i can
move or copy my projects/lib easly without need to change the .cfg or my
project options.

Best regards

-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100718/86516b37/attachment.html>


More information about the fpc-devel mailing list