If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > can i create array with keys ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-21-04, 02:04
marconi8 marconi8 is offline
Registered User
 
Join Date: May 2003
Posts: 50
can i create array with keys ?

in php i can create array - key associated
for example

myArray['key1']="bla bla bla"


but in VBScript how can i create key associated array ???


thanks
Reply With Quote
  #2 (permalink)  
Old 08-21-04, 19:49
MrWizard MrWizard is offline
Registered User
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 191
Yes, it's called a dictionary object. There's a good tutorial at http://codenewbie.com/tutorials/1745.html. Only one thing, don't create it as a session or application object. It will cause you lot's of headaches if you do. Otherwise, it's a great object with many good uses.

Tim
__________________
Tim
Reply With Quote
  #3 (permalink)  
Old 08-22-04, 14:31
marconi8 marconi8 is offline
Registered User
 
Join Date: May 2003
Posts: 50
thanks

thank you for your answer and link, it was that i was looking for
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On