Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to process instance of class
Message
De
05/01/2005 17:42:28
 
 
À
05/01/2005 16:43:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00974523
Message ID:
00974544
Vues:
16
Yes, but how do I reference a member in code? With a subscript of some sort? And if it is a case of a custom class, what is the collection a collection of? Suppose I have cl_xyz, an instance of a clss with 2 properties and 2 methods. How do I loop thru cl_xyz to get the names of the properties and their values? Here is what I want to do:

for i = 1 to count of members
if member[i] is a property
variable1 = property name
variable2 = property value
else
no action
endif
next
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform