Beginner's Trouble

Results 1 to 2 of 2

Thread: Beginner's Trouble

  1. #1
    Join Date
    Dec 1969

    Default Beginner's Trouble

    Hi to everyone. I have a question which I hope you can all help me with. I need to create a structure or associative array in VBscript but can&#039t seem to find any documentation on this. Does such a thing exist in VBscript?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Beginner's Trouble

    How about the Dictionary Object. It stores name/value pairs.<BR>&#060;%<BR>Set oDict = Server.CreateObject( "Scripting.Dictionary" )<BR>oDict.Add "MyKey", "MyItem" &#039 Add item to dictionary<BR><BR>sItem = oDict.Item("MyKey") &#039 sItem = "MyItem"<BR>sItem = oDict.Remove("MyKey") &#039 Remove from dictionary<BR>%&#062;

Posting Permissions

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