Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting an Array passed by reference
Message
 
 
To
15/10/2001 12:16:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568575
Message ID:
00568579
Views:
16
This message has been marked as the solution to the initial question of the thread.
? type('laArray[1]')

If it is an array, the return value is not U.

>I am writting a component that has parameters passed to it by an array passed by reference. I need to look at the parameter and determine it is an array. When I use vartype it only checks the first member of the array. That is consistant with the design of VFP but I can't find a way to get VFP to give me what I need. Looking at the variable with the Debug screen shows me that it is registerd as an array so I know the language detects it, I just can't find the proper function to capture the information.
>
>Thanks in advance
>
>Terry
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform