Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexplainable behaviour
Message
 
 
À
10/11/2010 06:25:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01488709
Message ID:
01488710
Vues:
118
This message has been marked as the solution to the initial question of the thread.
It's a bad idea to use public variables in the first place. You should rethink your design and get rid of them.
Anyway, a public variable becomes hidden when it's passed as a parameter by reference.

>Hi all, I'm fighting against a strange behaviour I cannot explain.
>
>I have a main exe file which declare a certain number of variables, then calls an app which refers to those variables
>
>well, one of those "zIdTrm" is undefined.
>I placed i disp memory just before the calling line of code and another one on the head of the called app
>
>this variables i signed as public with the right value on the first while it is marked as (hid) but with the same value after the second disp memory
>
>what the hell can it be ?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform