Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New to FoxPro 6.0 and this doesn't want to work
Message
De
16/07/1999 16:58:47
 
 
À
16/07/1999 16:54:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00242562
Message ID:
00242585
Vues:
32
>Hi Dan --
>
>Not entirely sure. I've never used a memvar as a control source. I gave up all but LOCAL memvars when I moved to VFP.
>
>>If you had a public variable and in your control source you had a variable of the same name, wouldn't it hide the public variable?

I remember after training a beginning programmer for just a short while, he was placing variables in the form's control source without declaring them any where. Actually, I had never seen anything like that before, but it turned out that the variable was private and could be seen throughout the form. I believe it's for backward compatibility.

I would guess that if you had declared a public variable that the control source's variable would hide the public variable being private by default. But without testing it, there's no way to tell.

Dan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform