>>
_Tally and timers Thread #
1102133 Message #
1102133>>
>
>What an interesting reading, especially close to the end of that thread.
>
>Anyway, timers in VFP are based on Windows timers and are triggered when VFP processes Windows events. When AutoYield =.T., approximately every 200 milliseconds VFP processes Windows message before executing the next command. Therefore, it is possible for Timer events to fire between any two consecutive commands, SELECT-SQL and the next command are not special.
>
>Thanks,
>Aleksey.
Hi Aleksey,
it would be a lot of comfortable to control this interval
AutoYield = 200 as .T.
AutoYield = 0 as .F.
AutoYield = 500 as 500ms
and
how can I know if the code is performed among two lines of code in execution,
because AutoYield is fired ?
With the stack level PROGRAM(-1) ?
Possible, but not very deterministic.