Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array by reference
Message
 
À
12/12/2000 13:19:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00452362
Message ID:
00452367
Vues:
23
>Hi:
>I need some advice re: passing an array by reference. I have added an array to a form that I am working on that needs to be passed to a function held in a utility object (acolscan from the Hackers Guide) that I've created. The calling routine looks like:
>ThisForm.oBCSUtilities.aColScan(@Thisform.aGroup, cClientGroup, 1)
>VFP errors out telling me that Alias Thisform is not found. What am I doing wrong?
>
>TIA
Mike,

You can't pass array properties by reference. Use ACOPY() to copy the property and pass the copy.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform