TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jerry McBride
from: Miha Valencic
date: 1995-02-08 09:16:14
subject: Rexx - Inkey$ ?

Jerry McBride wrote in a message to Bill Parker:

 JM> I've tried charin() and sysgetkey(), but each expects to see
 JM> the enter key pressed before it'll return to the progam.

? If you read from a file, charin does not require an Enter key. If you
read from stdin, it does - unlike SysGetKey. Works just fine with me (like
C function getch(e)). It has an option to echo or noeco charather read...

Here's a little example:

/* */
call RxFuncAdd 'SysGetKey', 'RexxUtil', 'SysGetKey'
call sysgetkey noecho


 JM> Basically, I need a way to exit a rexx loop by touching a

Implement the lines above...


\M 
--- timEd/2 1.01.g3+
* Origin: Iron Fist (2:380/106.10)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 380/106 240/5500 396/1 3615/50 229/2 12/2442 711/409 808 809 934

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™.