Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array problem on build
Message
From
24/11/2008 12:44:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01363805
Message ID:
01363819
Views:
8
>i didn't think that i had to declare it, but thats solved it, thanks.
>Sorry i had a typo on the message i listed
>~M
>

Oh, I never saw the typo

You do not have to declare it, but then
(1) it becomes private and may overwrite a private or public array of the same name (=dangerous)


(2) the compiler does not know about it
You can then
external array myarray
or put this code in a prg that (1) is excluded and (2) you do not set procedure to it
function MyArray()
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform