Re: Keycode problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> On Fri, 09 Jan 2004 18:34:11 -0600, Allen Robnett
> <alrobnett at alumni.princeton.edu> wrote:
> 
> 
>>Sorry, I didn't make it clear. With key.bat, I get the code 401 for ctrl 
>>downkey. In the program that I am creating, x=wait_key() yields 336 for 
>>downkey, for ctrl downkey and for alt downkey. In other words, key.bat 
>>performs as expected, my program, running on Windows 98 does not.
> 
> 
> Looks like a bug in exw.exe.. Rob?
> 
> Allen, since I believe you are writing a dos program, make sure the
> program is run with ex.exe not exw.exe. It may be enough to change the
> extension on the source file you are writing.

The key codes for the special keys are a bit different
between DOS, Windows, Linux and FreeBSD. I don't know exactly why.
It's not a bug in Euphoria. It happens at a lower level.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu