Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting in Excel occasionally randomly fails
Message
From
27/10/2014 21:16:08
 
 
To
24/10/2014 01:05:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609799
Message ID:
01609992
Views:
47
I don't quite your comment that Timers can fire after every foxpro statement

That would mean that if I write, for instance, a Scan loop, that a timer might be called at any time to reset the current work area, wouldn't it? That ALL code anywhere that relied on the current work area would be susceptible to this?

In my own work years ago on PEM Editor, I saw timers (with brief intervals) that got stacked up during the execution of a longer piece of code. They certainly did not interrupt that code; they waited until that code was done before all the timer calls were executed.

Certainly the Help file indicates that; thus

If your application or another application is making heavy demands on the system — such as long loops, intensive calculations, or disk, network, or port access — your application might not get timer events as often as the Interval property specifies.

That would only make sense if the timer event was handled like all other events, in line, one after another.



>>
>>I thought timers did not interrupt an executing method.
>>
>
>Oh, but they do. Timers can fire after every foxpro statement. If the statement calls a udf, then after every statement of that function
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform