Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00720959
Message ID:
00720968
Views:
11
LOCAL ARARY laPar(1)
=UDF(@laPar,para1, para2,...)
?laPar(2,6)

PROCEDURE UDF()
LPARAMETERS laPar,para1, para2....
EXTERNAL ARRAY laPar
DIME laPar(2,6)
laPar(2,6)="Hi"
RETURN
MartinJ

>How can I return an Array?
>
>For example:
>
>aSomeArray = UDF(para1, para2,...)
>
>
>
>UDF()
>   LPARAMETERS para1, para2....
>   some code for filling an array...
>   RETURN WHAT????
>
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform