[fpc-devel] Namespaces like URLs

Adem listmember at letterboxes.org
Tue Jul 27 02:48:57 CEST 2010


  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) :)




More information about the fpc-devel mailing list