Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From VFP, what exactly is a Collection from a COM object
Message
From
28/02/2000 16:32:34
 
 
To
28/02/2000 16:23:05
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00338642
Message ID:
00338698
Views:
11
>It's fairly easy by creating an Access method for your array. In the access method, if the index passed is a character expression, use the expression to find a member object, and return a reference to it. This type of set up is only distinguishable from a real collection in one way- FOR EACH does not work on it, unless the array REALLY is an array of object references.

>Bill- we cannot build real collections in VFP, this is as close as we can get.

This was close enough! This works well, now I can emulate the ASP object syntactically (I am not using a FOR EACH at present) and test my ASP code.

I may expand this into a test rig for ASP, cool!


Thanks Erik, John, and Jeff, you guys helped me big time (John, my deadline is tomorrow!)

Best,
Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform