Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting an Array passed by reference
Message
From
15/10/2001 12:28:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568575
Message ID:
00568586
Views:
14
>? 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


DUH!

Brain fart I guess. I even did that and didn't recognize it at the time. I guess I need to get another cup of coffee.

Thanks for un-farting my brain.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Previous
Reply
Map
View

Click here to load this message in the networking platform