Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From VFP, what exactly is a Collection from a COM object
Message
De
28/02/2000 16:32:34
 
 
À
28/02/2000 16:23:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00338642
Message ID:
00338698
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform