Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays by reference as parameters in form methods
Message
 
 
À
17/09/2002 23:10:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00701611
Message ID:
00701612
Vues:
16
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform