1. wait_key() in 2.5 alpha

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?

new topic     » topic index » view message » categorize

2. Re: wait_key() in 2.5 alpha

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu