Re: wait_key() in 2.5 alpha
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 29, 2004
- 487 views
Juergen Luethje wrote: > I tested the following program, using Eu 2.5 alpha on Windows 98. > }}} <eucode> > include get.e > > procedure ignore(object x) > end procedure > > puts(1, "Press any key ...") > ignore(wait_key()) > </eucode> {{{ > > It ran as expected when interpreted with ex.exe and exw.exe, when > compiled with DJGPP as a DOS program, and when compiled with Watcom > as a Windows program. > > When compiled with Borland as a Windows program, it also works fine > with most keys, but when I press [Enter], I have to press another > key thereafter (either [Enter] again or any other key), in order > to terminate the program! Yes. The need for two Enters with Borland was reported before. I haven't figured out how to fix that. Thanks, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com