Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays by reference as parameters in form methods
Message
From
17/09/2002 23:10:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Arrays by reference as parameters in form methods
Miscellaneous
Thread ID:
00701611
Message ID:
00701611
Views:
87
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
Next
Reply
Map
View

Click here to load this message in the networking platform