On 2010-07-27 1:08 AM, Graeme Geldenhuys wrote:
2010/7/27 Adem :
I wouldn't have much of an issue with something like

uses
  zip IN '/units/my/zip.pas' AS myzip;
  zip IN '/units/lib/zip/zip.pas' AS ziplib;
And if you have multiple developers working on the same project and
their source code directory hierarchy is not exactly the same as yours
(shown above), then that project would not compile on there systems.
You cannot hard-code such paths inside a unit and have any hope that
it will be "portable" between developers and OSes (\ vs / delimiters).
Yes.

And, it seem you did not read the rest of my post (including the first one with this subject line) :)

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to