Information générale
Catégorie:
Programmation Orientée Object
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement