When I wrote a game on the S/3 I think there was something under CCP called
invite-input that did something like that - dont know what it is called
nowadays :-)
Using a data queue attached to the display is a nice & easy method. It
can also allow the user to set the delay interval if required. You can
find some sample code on my site
DSPF: http://www.dbg400.net/download/TESTACT.txt
RPG: http://www.dbg400.net/download/TESTACTIVE.txt
The DSPF uses the record level keyword INVITE and is compiled, or
overridden, to use a data queue (created at run time in QTEMP is fine).
The program writes the DSPF record format(s), then waits on a QRCVDTAQ
call. If an entry is generated by the user pressing Enter or FKey, then
you read the record format(s). Otherwise you skip the read, then reload
and redisplay the screen.
Regards, Martin
--
mar...@dbg400.net AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ /
Source free test environment tools and others (file/spool/misc) X
Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \