General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only