I have used timeouts (other than infinite that is) with INKEY$ (SBASIC) 
and wm_rptrt (C68). The latter seems to be quite undocumented other than 
on code by Jonathan Hudson - is that true please?

In SMSQ/E there also seems to be the possibility of timing out calls to 
RPTR in the QPTR toolkit through the use of events. I have a QPTR manual 
page which refers to setting the term% parameter of RPTR to include events 
which will terminate the call and an SMSQ/E page which refers to timeout 
as 'an optional 9th event'. To force a return on the 9th event or on a 
button/keystroke, I suppose one sets term% = 512*256+1 = 8*16536+1 = 
$80001 . But isn't term% a 16-bit word? And how would the value of 
the timeout be set?

I would dearly like to time out calls to RPTR but how? What about another 
job which loops forever and sends events on PAUSEs:

REPeat loop
   PAUSE n%
   SEND_EVENT 'main_job',1
END REPeat loop

with term%=$201 in the main_job's call to RPTR,

or would this just fill up some stack of events?

Has anyone explored all this before I waste time doing what has already 
been done?

Christopher Cave

Reply via email to