Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays by reference as parameters in form methods
Message
 
 
To
17/09/2002 23:10:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701611
Message ID:
00701612
Views:
15
You can add EXTERNAL ARRAY arank to the Method B.

>Is the only way to avoid complaint when local array from method A of the form method passed as parameter to method B of this form to place DIMENSION at the end of method B
>
>Method A
>
>dimension arank[1]
>...
>thisform.get_id( @arank)
>
>Method B
>lparamaters lrank
>
>for li=1 to alen(lrank)
>...
>endfor
>return .T.
>dimension lrank[1]
>
>Thank you
>Michael
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform