<div dir="ltr">Sorry, I'm late coming into this conversation and I may not be understanding the question/answer. But if I am, then case sensitivity should be part of any sort/comparison, at least as an option. I have had many problems when it is not. aA-Bb-Cc-dD is a form of randomness. If the result of a sort can not be reliably reproduced after adding new data, the sort fails. Case sensitive sort is common. Take a look at almost any spreadsheet program and you will see that it is an option. It's also an option in TStringList. In my opinion Case Sensitive should be the default behavior of any Sort/Comparison.<br>
<br><div class="gmail_quote">On Tue, Jan 22, 2013 at 1:16 AM, Flávio Etrusco <span dir="ltr"><<a href="mailto:flavio.etrusco@gmail.com" target="_blank">flavio.etrusco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Jan 21, 2013 at 7:36 PM, Mattias Gaertner<br>
<<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>> wrote:<br>
> On Mon, 21 Jan 2013 22:19:58 +0100<br>
> Bart <<a href="mailto:bartjunk64@gmail.com">bartjunk64@gmail.com</a>> wrote:<br>
><br>
>> On 1/21/13, Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br>
>><br>
>> >> Should case of string really allow ranges?<br>
>> ><br>
>> > THAT is an interesting question.<br>
>><br>
>> I think it should not.<br>
><br>
> The lower-than and greater-than operators are defined for<br>
> strings. Do you want to remove them too?<br>
><br>
<br>
I've actually wondered about it a few times ;-)<br>
You have a point - and I don't feel strongly about either way -, but<br>
in perspective AFAIR I've never needed - nor have seem a piece of code<br>
which did - more than one greater or less than comparison on strings<br>
in the same condition, so I'd say it's an unusual notion/construction.<br>
<br>
-Flávio<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Shalom,<br>Avishai<br><a href="mailto:avishai.gore@gmail.com">avishai.gore@gmail.com</a><br>אבישי גוֹר
</div>