[fpc-devel] Re: Purpose of "uses ... in"?

Schindler Karl-Michael karl-michael.schindler at web.de
Wed Jul 14 08:56:34 CEST 2010


> Date: Tue, 13 Jul 2010 11:48:27 +0200 (CEST)
> From: marcov at stack.nl (Marco van de Voort)
> Subject: Re: [fpc-devel] Re: Purpose of "uses ... in"?
> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
> Message-ID: <20100713094827.AF1AC17080 at turtle.stack.nl>
> Content-Type: text/plain; charset="US-ASCII"
> 
> In our previous episode, Schindler Karl-Michael said:
>>> thread saying that they use this functionality (both in FPC and in  
>>> Delphi). Therefore I don't think it is a good idea to remove or change  
>>> it.
>>> 
>>> If different functionality is desired, I think it's better to add a  
>>> different construct rather than using the same construct but with a  
>>> different meaning.
>> 
>> When checking, I found that it is used for all files in UltraStar Deluxe. 
> 
> With or without paths? IOW does it only change casing? Then it might not be
> that bad. (though it doesn't deserve a beauty price either).
> 
> Probably that is because of Kylix, that doesn't have FPC's "in case of
> doubt, just lowercase all filenames" escape, resulting in the need to
> micromanage it manually using IN.

I have no solid idea about why it is used in the first place. Fortunately, only 
relative paths are given. I have to check, whether it changes casing. If so, it 
should be easy to fix, in particular since Delphi is used for Windows only, 
whereas Linux and Mac OS X are fpc. I'll investigate, whether we can 
actually get rid of it. Thanks for pointing out the issue.

MiSchi


More information about the fpc-devel mailing list