Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Tally and timers
Message
From
10/03/2006 17:15:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01102133
Message ID:
01103291
Views:
23
>It is clearly documented that when AutoYield = .T., The instance of Visual FoxPro processes pending Windows events between execution of each line of user program code.
>Since it hasn't been proved as such, would you base your approach on a hunch that this is not true? If I understand corectly, Fabio is advising caution when dealing with this issue.

As to my understanding, the native timers are *not* windows events. Viv's test also suggests that they are not, because in that case the timers should have fired many times (autoyield is True in that code) during the for/next loop. Actually, they only started firing after that loop. I think the concept is not well understood by many of us.

>However, I don't use _TALLY in my code. IMO, RECCOUNT() or ALEN() is a much more worry-free aproach. My guess is that the purpose of _TALLY in VFP is to provide feeback *during* tallying operations. Thus, I wouldn't consider _TALLY a reliable value once the operation is completed.
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform