Am 08.04.2006 um 17:56 schrieb [EMAIL PROTECTED]:
HasKey is always returning false. Any Ideas?
HasKey returns an answer virtually instantaneously.
So HasKey is instantaneously wrong? Is that good or bad?
So I guess you did that:
Dim d as New Dictionary
d.Value(True)= myString
If d.HasKey(myString) Then
// you are never here!
End If
You should code:
Dim d as New Dictionary
d.Value(myString) = True
If d.HasKey(myString) Then
// you are here!
End If
Hans-Georg
_______________________________________________
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>