Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement