Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing by Reference
Message
De
23/04/2004 12:23:20
 
 
À
23/04/2004 09:11:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00897358
Message ID:
00897652
Vues:
18
Hi,

if it is especially about array's,
LOCAL laX[2]
= called(laX)
= called(@laX)
FUNCTION called(tuRefOrVal)
? TYPE("m.tuRefOrVal[1]")
that should be a way to tell the difference in this special case.
Perhaps depending on your "code situation" you can build on this.
Another way (if you know all possible calling var names) is to try
whether they are still visible - they are "renamed" in the call by ref.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform