Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very basic form problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00840010
Message ID:
00840037
Views:
21
True, thanks, David, that was stupid (and I tested before I wrote too because I couldn't remember-- I never use SCXs ! <s>)

CLEAR ALL
DO TEST.PRG

* test.prg
DO FORM c:\temp\x
DISPLAY MEMORY LIKE x

I must have had another another x somewhere <s>.

Yes, the variable is private not public. (It is most definitely created and, within the procedure, could be used to assign the reference elsewhere if you wanted.)

However, I still think there is a good chance that Sharon has been confused by this because of the behavior of DO FORM in the past. People use DO FORM in a PRG and they *know* they can refer to that form elsewhere. It's because of the PRIVATE scope, true it's not PUBLIC except for the command window, but it still confuses them.

Sorry for making that comment, the scoping issue should still be pretty clear, I think.

>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform