` Preventing infinite loop in Processes when using Message() (Arnor Baldvinsson ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Preventing infinite loop in Processes when using Message()
1998-05-07 -- Arnor Baldvinsson
 
The problem is that the timer events are stacked up while the program is waiting for user input from the Message or procedure call. Encapsulate your code in: ProgressWindow{Prop:Timer} = 0 ! Your code ProgressWindow{Prop:Timer} = 1 This disables the timer events from firing while it runs your code. This will be a problem every time you call message or any other procedure in your program from the timer event.


Today is April 24, 2024, 7:32 pm
This article has been viewed 35106 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: