putAtKey(keys: KeyType; value: MemberType) updating;
The putAtKey method of the ExtKeyDictionary class adds the object specified in the value parameter to a dictionary. If duplicate entries are not allowed and an entry already exists for the key specified in the keys parameter, an exception is raised.
The following is an example of the use of the putAtKey method.
custNameDict.putAtKey(cust.name, cust);
The code fragments in the following examples show the use of the bracket ([]) subscript operators to assign values to a dictionary.
custNameDict[custName] := cust; custNameDict["Mr Who", "11 Any Road", date] := cust;