Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an array from a form
Message
From
16/04/2005 08:41:48
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01004788
Message ID:
01005439
Views:
33
Hi Fred.

Oh, but you can return an array, starting with VFP7:

Ah yes, you are right. I had forgotten about that < s >. You motivated me to go look at the help file and I found this:

Because such arrays must be in scope after the method call, LOCAL and PRIVATE arrays are invalid in these declarations. You must use either a PUBLIC or a member array.

So, for all practical purposes, you really need to return the array in an object anyway, don't you? I bet you are like me - the more times you see the word PUBLIC in the code, the higher your rate goes < vbg >.
Previous
Reply
Map
View

Click here to load this message in the networking platform