dictionary of arrays

Results 1 to 2 of 2

Thread: dictionary of arrays

  1. #1
    Join Date
    Dec 1969

    Default dictionary of arrays

    can an array be part of the dictionary scripting object. for instance...<BR><BR>myDict.Item("myArray")(0) = "whatever"<BR><BR>would be the first index of an array in the value part of the dictionary at key "myArray"

  2. #2
    Join Date
    Dec 1969

    Default RE: multidimensional

    You can not store multi-dimensional arrays in the dictionary object however you can always store a 1-D array of name and value pair.<BR>d.Add "re","Red"<BR>d.Add "gr","Green"<BR>d.Add "bl","Blue"<BR>d.Add "pi","Pink"<BR>Response.Write("The value of key gr is: " & d.Item("gr"))<BR><BR>Output:<BR><BR>The value of key gr is: Green

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts