Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looping trough the properties of an object
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00883206
Message ID:
00883210
Views:
6
Use AMEMBERS() function ...

HTH.

>Hello everybody, Is there an easy way to loop trough the properties of an >object? let's say that oMyObject has three properties, cProperty1,
>cProperty2 and cProperty3
>I would like todo something like

>FOR EACH oMyVar IN oMyObject
>?oMyVar.Value
>ENDFOR
>but "FOR EACH" only works on collections or arrays

>I'm using Visual FoxPro 8.0

Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform