Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object and fields
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Business Object and fields
Divers
Thread ID:
00645006
Message ID:
00645006
Vues:
42
Hi

I'm defining a businessobject class.
In different examples I see something like that
boCustomer.cName='JUAREZ RODRIGO'
boCustomer.nAge=27
.
.
.
but this aproach don't have problems with method or internal property names?
I'm thinking about using an array, with set and get methods like
boCustomer.setvalue('cname','JUAREZ RODRIGO')
OR
lcCustomer=boCustomer.getvalue('cname')
In the business object, create an array like aFields(1,2)
aFields(1,1) field name
aFields(1,2) value

Any suggestion?

TIA
Rodrigo Juarez
rodrigoj@azinformatica.com.ar

Para entender la recursividad, primero, hay que entender la recursividad.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform