Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an Array from a Function
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Returning an Array from a Function
Miscellaneous
Thread ID:
00338850
Message ID:
00338850
Views:
54
I build a Function that receive an array, but when i try to returned fox give me an error. A parameter is missing.

Ex:

Dimension ArrayOne[20,1]
Dimension ArrayTwo[20,1]
ArrayTwo=FuncExample(@ArrayOne)


Function FuncExample
LParameters laArray
Local laArrayNew
Dimension laArrayNew[20,1]
..
..
..
Return (@laArrayNew)
EndFunc

When i run it an call the function fox stops at the "return" line with an error.
Francisko Paternoster
fpater@patercorp.com
Next
Reply
Map
View

Click here to load this message in the networking platform