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:
00883230
Views:
6
Thanks much!

>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
>
>
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform