ASP CompareMode Attribute
Definition and Usage
The CompareMode property sets or returns the comparison mode of the keys in the Dictionary object.
Syntax:
DictionaryObject.CompareMode[=compare]
parameter | description |
---|---|
compare |
Optional. Specifies the comparison mode. The following values can be used:
|
instance
<% dim d set d=Server.CreateObject("Scripting.Dictionary") d.CompareMode=1 d.Add "c","China" d.Add "i","Italy" Η μεθόδος add που ακολουθεί θα αποτύχει d.Add "I","Ireland" 'Η λέξη i υπάρχει ήδη %>