Home »
Public Forums »
archive »
Trouble wih events
Trouble wih events [message #36771] |
Wed, 29 October 2003 03:31 |
Nuno Oliveira
Messages: 75 Registered: October 2003
|
Member |
|
|
Hi.
I have a problem with a routine that handles my widget events. I would like
to know if someone here could give me a tip.
When an event is recognized the program is supposed to execute a function
(that is also a widget application) that returns an important variable. But
it seems that the program doesn't wait to the function to terminate and
executes the remaining statements on the event routine. The result is that I
don't get my new variable (the one returned by the function).
I thought the event routine would wait for the function to continue the
execution but apparently, it doesn't... and the variable is in a COMMON
block between the main program and the event routine
(My debugging works assured me that is everything ok in the function:
immediately before the RETURN statement the variable is as it is supposed)
Greetings,
Nuno.
|
|
|
Current Time: Fri Oct 10 21:42:41 PDT 2025
Total time taken to generate the page: 1.03910 seconds