wait_key() in 2.5 alpha
- Posted by "Juergen Luethje" <j.lue at gmx.de> Nov 28, 2004
- 477 views
Hello Rob, I tested the following program, using Eu 2.5 alpha on Windows 98.
include get.e procedure ignore(object x) end procedure puts(1, "Press any key ...") ignore(wait_key())
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! Regards, Juergen -- Have you read a good program lately?