Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help with WHEN RESET Command

Status
Not open for further replies.

dblprops

Programmer
Sep 16, 2004
5
US
Hi,

I am trying to get some assistance on the WHEN RESET command. I have a script that waits for various display changes and performs actions based on those changes.
I have a WHEN ELAPSED ID timeout Call timeout_proc, setup so that I will not just sit in the while loop forever.
I am trying to "reset" the WHEN ELAPSED command after each valid command is processed so that it does not time out and kill my script prematurely using WHEN ELAPSED ID RESET. When I try to compile, it tells me that the "RESET" is an invalid token.

Does anyone understand or can explain how this command works?

Thanks,
dblprops
 
Knob,

Thanks. I figured it out. Apparently, this command assumes
that the WHEN in question has been "suspended".
Therefore, the correct format is:
WHEN <ELAPSED> <ID> RESUME RESET

This still does not seem to "reset" the event. It will
only abort an event that was invoked during the processing of another event.

dblprops
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top