Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexplainable behaviour
Message
De
10/11/2010 06:40:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01488709
Message ID:
01488712
Vues:
60
>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 ?

I think i love you Sergey,,,thank you very much!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform