Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array by Reference
Message
De
12/01/2001 13:40:37
 
 
À
12/01/2001 11:21:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00463007
Message ID:
00463104
Vues:
12
>Hello,
>
>Bit of a wierd one here...
>
>I have a form with a property on it defined as an array
>I do a select statement into that array
>I then try to pass the array as a parameter into a .prg by reference
>
>Select * ;
>From table_x ;
>Into Array Thisform.laPrArr
>
>=SomeRoutine(@Thisform.laPrArr)
>
>This errors with "alias thisform is not found"
>
>This works fine if the array is not a form property (no surprise there)
>
>Can anyone suggest a way to get this to work?
>
>Thanks
>
>Will

laArray = Thisform.laPrArr
=SomeRoutine(@laArray)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform