Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global variable dies when sent as a parameter??
Message
De
25/01/1999 13:10:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00179903
Message ID:
00179906
Vues:
29
If it's a global var, why are you sending it as a parameter?
Wouldn't the procedure have it available already?
Also, is the parameter name the same as the global var? If so PARAMETERS makes it private, which may kill it; LPARAMETERS makes it local, which will kill it.

>Hi,
>
>In VFP3 as well as in FPW26 it seems to be the case that if I send a global variable as a parameter to a procedure, that global variable is dies.
>I have the UDFPARMS set to VALUE and I thought that the procedure would not be able to modify the variables used to send values to the procedure, and even less able to kill it.
>
>If I have missed something it would make life a little easier...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform