Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and timers
Message
De
10/03/2006 14:18:28
 
 
À
10/03/2006 12:12:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01102133
Message ID:
01103231
Vues:
26
>>>>Hi,
>>>>
>>>>>
>>>>I have done your test and it suggests that my *old* understanding is the correct one and Fabio's understanding is wrong! Agree?
>>>>>
>>>>
>>>>Not really. As I mentioned it doesn't really prove anything. The fact that it doesn't appear to happen in a few thousand iterations doesn't mean that it will *never* happen. And if it *can* happen then any additonal lines between the 'SELECT' and the use of _tally would increase the risk.
>>>>
>>>
>>>Exactly.
>>
>>How do you mean 'exactly'. What I observed with Viv's code is that the timer's Timer event did not even fire *once* during the loop! It is my hunch that the intended behavior of vfp is that the timer is not actively visited during execution of consequtive inputless commands. You suggest that this intention is not guaranteed everywhere/everytime. Can you write a program that gives support to your hunch?
>
>Hi Peter,
>
>I already lose a sea of time to understand all the bugs that I find.
>I could write a program that tries to try that a Timer can also activate him
>without DOEVENTS, but if I didn't succeed
>it would not be a test some that this can never happen.
>( even if the documentation wrote it, it would not be a certainty ! )
>
>If you want to risk and you are convinced that it never happens, not to save _TALLY;
>the day that the data of your more important client will be corrupt
>you will owe only to curse with yourself.
>
>Fabio

I understand your pov. However, you have - this time - not been able to give proof of your statement. Being recognized for your insights, you are kind of a guru these days here and at least *some* people tend to believe whatever you say. In this case, that is not the wisest decision, imo. Hopefully, *others here* can confirm or contradict our pov's.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform