Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object and fields
Message
From
15/04/2002 10:20:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Business Object and fields
Miscellaneous
Thread ID:
00645006
Message ID:
00645006
Views:
41
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.
Next
Reply
Map
View

Click here to load this message in the networking platform