TIP: Click on subject to list as thread! ANSI
echo: os2bbs
to: David Calafrancesco
from: Peter Knapper
date: 1999-01-05 12:02:04
subject: OS/2 Event utility?

Hi David,

 RJT> When I saw that original post I was wondering how hard it
 RJT> would be to do something like that in REXX,  since that's a
 RJT> lot of what I plan to set up here,  once I get some things
 RJT> stabilized...

 DC> Rexx has a sleep function, but you can't interrupt it. 
 DC> I don't know if it has a timeout input function. If 
 DC> not, then I am not sure how you will implement it in 
 DC> REXX. 

My approach would be to implement that REXX code as event driven and use
PIPE's to control it. This means a SLEEP is not needed, and I would
"drive" the REXX script by stuffing messages into the PIPE.
Provided its not away doing something, the REXX code will respond
instantly.............pk.


--- Maximus/2 3.01
* Origin: Another Good Point About OS/2 (3:772/1.10)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 284 371 634/397 635/444 506 728
SEEN-BY: 639/252 670/218
@PATH: 772/1 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.