Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issue: _tally is not scoped to the command datasession !
Message
De
26/11/2004 10:20:38
 
 
À
26/11/2004 10:11:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00964906
Message ID:
00964920
Vues:
10
Hi Thomas,

>Hi Fabio,
>>I'm a lot surprised that nobody is complained of this choice, that evidently is mistaken.
>
>It is certainly something to keep in mind. Since _tally can be changed by a lot of things, I follow the rule:
>If I want to use _tally, I reassign it to something else immediatly after the operation I want to check on. This should isolate me at least from timer problems,

No you are not sure. VFP VM is atomic within a command. If the timer it is asyncronous,
it can fire the Timer event to the end of a whichever command.
REPLACE FOR ...
* TIMER CAN START HERE !!
STORE _tally TO myTally && _TALLY can to be changed here !
I check it 3 years, and the only sure way it is to push/pop the _TALLY value within the Timer event.

> but still keeps me in danger from interrupt-like actions (on...). Since the coming bindevent() to windows messages is reported to work in this manner as well, just more to be afraid of.

With this we will see some of all the colors.

Ciao
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform