Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The scope of Public variable
Message
From
07/10/1999 10:07:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
The scope of Public variable
Miscellaneous
Thread ID:
00273661
Message ID:
00273661
Views:
40
Hi,
I have declare a public variable PUBLIC RxDATA in myclass.INIT. This variable will be used by a anywhere in myclass. It works fine at first. When I tried to subclass it become mysubclass, VFP give me error RxData is not found. I am suprise that why it happen? Therefore, I declare PUBLIC RxData in main.prg and it doesn't work too except I declare it in mysubclass.init again. Why ? What have I do wrong?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform