In our previous episode, Hans-Peter Diettrich said:
> That's why I would restrict the usage of "in", with a (relative) path, 
> to a program or library module, as AFAIR Delphi does, and make the 
> directory of that file the root for relative filenames. 

AFAIK it does not. Delphi projects with relative paths in library
searchnames also can go horribly wrong.

Usually the working dir is equal to the project dir, but in some cases they
can differ, and then it goes wrong.

The IN syntax was iirc mainly to fix certain Kylix naming issues, and to
assist the designer (hence its main use in .dpr). It was abused for all
kinds of trickery, but these were always hacks afaik.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to