[fpc-devel] Namespaces like URLs
graemeg.lists at gmail.com
Tue Jul 27 00:08:09 CEST 2010
2010/7/27 Adem :
> I wouldn't have much of an issue with something like
> 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).
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-devel