The bracket ([]) substring operators enable you to assign values to and receive values from a dictionary. The code fragments in the following examples show the syntax of bracket subscript operators in Dictionary methods.
productDict[prodName] := prod; prod := productDict[prodName]; customerDict["Sid Who", "12 Any Avenue", date1] := cust; cust := customerDict["Sid Who", "12 Any Avenue", date1];