General information
Title:
Arrays by reference as parameters in form methods
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only