Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with array as parameter
Message
From
30/06/2013 15:58:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with array as parameter
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01577528
Message ID:
01577528
Views:
78
I passed an array as a parameter to a procedure. With the debugger I can see that all elements in that array are there.

The problem is that when I compile I receive an error message (in the called procedure) saying "Unable to find NameOfMyArray"

Problem is caused by following line

nResult = NameOfMyArray[1,1]

But like I said the values are all in that array.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform