[fpc-devel] Purpose of "uses ... in"?
Michael Van Canneyt
michael at freepascal.org
Mon Jul 12 13:32:40 CEST 2010
On Mon, 12 Jul 2010, Michael Schnell wrote:
> On 07/12/2010 08:12 AM, Michael Van Canneyt wrote:
>> So for historical reasons, FPC is stuck with the 'in' clause, when in fact
>> it should
>> not exist in the first place.
> It could be made useful when
> - it takes precedence above the search path
> - can bed used relative with "current" = the file it is read from
> - there is an OS independent syntax (does using / and \ both as separators
> make sense ? )
> - the (Lazarus-.usual) Variables to things like project path are usable
> - ... ???
The cure is far worse than the problem, because it is still trying to
combine 2 systems that are basically incompatible.
Bottom line is: don't use 'in' for the uses clause; use the command-line
option to specify the location of the sources.
Michael.
More information about the fpc-devel
mailing list