Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array property as a referenced parameter to a function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00047926
Message ID:
00047976
Views:
39
>Yes, but in the initial message Jorge ask for a way to reference an
>array without copy it...

That's exactly what one of the techniques does, and it's faster than macro substitution. Note:

>>2. Use the EVAL() function to access the Nth element of oMyObject.aMyArray by saying:
>>cThisElement=cMyArrayRef + "(N)"
>>Now you can change the value of N as often as you like and resolve the value of the Nth element by simply asking for Eval(cThisElement)

:)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform