1. Re: David Cuny's Editor Bug
- Posted by "Cuny, David" <ATB.DCUNY at HW1.CAHWNET.GOV> Apr 21, 1997
- 843 views
Daniel Berstein replied: >> Any better ideas? > I think the solution would be to "free" the ALT GR key from doing > functions that the ALT can do: ALT-0 toggle screen, ALTGR-0 prints > ascii 0. You aren't going to be able to insert an ascii 0 in my editor anyway. Many of the low ascii codes cause it to blow up. :( I've been too busy this weekend to update the code, but I'll come up with something. I suspect that I'll have to check for the Alt+Gr key being pressed, like the old code did. At least this version will be a little better integrated. > What is PP? It's my Euphoria Pre-Processor. In incorporates a lot of stuff that I, or other people, might like to see in Euphoria, but probably will not be implemented. For example, it's got a CASE statement: select numeric case x do case 1;2;3 puts( 1, "1, 2 or 3\n" ) case else puts( 1, "too high for me to count!\n" ) end select It translates the code line-for-line into equivalent Euphoria code, so if there is an error in the generated code, it is easy to trace back to the original. -- David Cuny