Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unexplainable behaviour
Message
From
10/11/2010 06:40:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01488709
Message ID:
01488712
Views:
59
>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!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform