Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
READ TIMEOUT has incorrect timing
Message
From
27/03/2013 11:23:09
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01569181
Message ID:
01569349
Views:
52
>>>Here is some code derived from legacy code. The TIMEOUT clause does not cause a time out after the specified number of seconds. Is this a known bug?
>>
>>I'd lean toward it is not a bug per se, but incompatibility between legacy code (@ SAY/GET w/ READ CYCLE) and more current style of coding introduced with Visual FoxPro (OO-style form objects and READ EVENTS). Might be easier to simply redo the forms (often the underlying logic can be adapted -- in some cases it is simplified), than it would to try to apply various workarounds and have to deal with "quirky" behavior as a result..
>
>VFP is downward compatible, isn't it?! It's either a bug or a quirck or by design. My best hunch is that it started to be a quirck with the introduction of faster computers than at the time it was implemented.

I wouldn't expect 100% backwards compatibility. UI-related commands would certainly be affected by how it is handled "natively" (so it's likely to be 'by design'). Commands like LOAD and CALL would be ones that I wouldn't expect to even be implemented (due to the low-level nature).
Previous
Reply
Map
View

Click here to load this message in the networking platform