Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local vs private
Message
De
11/08/2005 06:32:27
 
 
À
11/08/2005 06:17:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01039725
Message ID:
01040131
Vues:
18
>Hi,
>>>
>The difference among PUBLIC and Private it is this:
>- PUBLIC doesn't depend on the stack scope
>- PRIVATE it depends on the stack scope
>>>
>
>I understand the differences in general - I was just wondering whether there was any practcal differences in the context of Craig's usage. You say that PRIVATE does not, in some circumstances, hide a previously declared PUBLIC variable. Can you give an example?

I see it with complex Timer,ActiveX,ON SELECTION BAR,EXECSCRIPT() program.

The problem is not tied up to Private, but to the stack,
in some situations the code doesn't respect the current stack,
but it is performed with a separate stack.

It is not simple to be replied with a handful of lines.

>Does this only happen with variables explicitly declared as PUBLIC or can it fail to hide >other variables that are in scope?

I see every day wrong things, but it seems me to be able to say that (to today) Private it has not betrayed my trust.

>
>Thx,
>Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform