On Dec 30, 2004, at 1:33 PM, Stefan Pantke wrote:
Am 30. Dez 2004 um 18:22 schrieb Norman Palardy:
On Dec 30, 2004, at 4:10 AM, Stefan Pantke wrote:
Am 30. Dez 2004 um 10:27 schrieb Jan Erik Moström:
I was going to use a dictionary to quickly looking up things but
discovered
that the Dictionary class isn't case sensitive:
msgBox "abc " + x.value("abc")
gives "På dig", is there some easy way of getting the dictionary
class to be
case sensitive?
I suppose, that this is a bug - and a quite ugly one too, if this
behavior is
really not intended.
You should post a bug report.
Not a bug .... like the rest of string comparison in RB Dictionaries
are not case sensitive.
Not a bug? That's strange and useless.
It is by design (there's a long thread in the archives about this
particular item)
I don't like it either; but it IS how RB was and has always been
designed with regard to string comparisons
Having a case-sensitive String.= call and a Lowercase operation allows
to define
a case-insensitive String.= call. But the other way is more
complicated and
most likely less inefficient than a lib call.
That's why there is the strcomp function for case sensitive cmparisons
when you need it
So, RS, what's the reason to implement String.= in such a totally
uncommon
way?
Moreover: My intuition tells me that equality should be equality,
nothing else ;-)
[BTW: Is this behavior documented?]
That I dont recall
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|