Re: 3.0.3 Release Candidate for Windows/DOS
- Posted by Robert Craig <rds at RapidEuphoria.com> May 30, 2007
- 694 views
Juergen Luethje wrote: > > Hi Jacques, you wrote: > > > I Juergen, > > Strangely I don't get the same result as you. I translated key.ex with > > euphoria > > 3.0.2 and Borland compiler and contrary to you I don't get the ESC and > > function > > keys. > > Its not really a surprise to me because When using borland or LCC, the > > backend > > use win32api function ReadConsole() > > and before calling wingetch() get_key() SetConsoleMode with > > ENABLE_PROCESSED_INPUT > > flag. > > <snip> > > After I had translated 'key.ex' with the Eu 3.0.3 Release Candidate and > compiled with Borland, I realized that the program doesn't return a code > e.g. for ESC and the function keys. _For me_ it was a surprise, because > I do not know the internal stuff, and because in the documentation of > get_key() it reads: > | Special codes are returned for the function keys, arrow keys etc. > Neither in the documentation of get_key() nor of wait_key() there is a > comment concerning this issue with Borland and LCC. > > Then I tested the same with the current Eu 3.0.2, but probably by mistake > I translated/compiled with Watcom instead of Borland. So it wrongly looked > to me that the same thing worked fine with Eu 3.0.2. I'm sorry. I had better look at this more carefully, and probably reinstate Jacques' bug fix in the next release candidate. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com