Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 adding vbscript collections
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

paco
Junior Member

Spain
187 Posts

Posted - 11 June 2001 :  11:29:12  Show Profile
I have two collections, A and B

How can I do something like

C = A + B

quote:
Note: This means that C contains all the elemets of A and all the elements of B. There is not way a element can be in both A and B.


to be able to do this:

for each item in C ...

do something

Thanks,

Paco


paco
Junior Member

Spain
187 Posts

Posted - 12 June 2001 :  03:21:36  Show Profile
I thought this one was easy!

Is there an easier way than adding all the elements from both collection one by one.

for each aitem in a

c.add aitem, key

...
for each bitem in b

c.add bitem, key
...

Should I use add or additem?

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07