Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very basic form problem
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00840010
Message ID:
00840037
Vues:
24
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<
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform