[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete key issue...



On Tue, 5 Mar 2013, Bill Buckels wrote:


"Steve Nickolas" <usotsuki@buric.co> wrote:
The value 127 can be pulled from a PC keyboard by pressing Ctrl-Bksp.

The DELETE key in AppleWin does the same thing. Both work.

What is called Backspace on a PC is called Delete on an Apple.

I'll post this again in case he didn't hear you... he will need to write his
own string routines to use DELETE instead of chr$(8) because C routines like
gets() that are already available to him use chr$(8) so he can't use them.

It would be idiotic to use getch()-like functions without being aware that not all systems use the same keycodes.

I usually use separate functions for PC and Apple, which translate between the Apple 8/21/11/10/127 and the PC -75/-77/-72/-80/8 etc.

...of course this doesn't mean anything to Mr. Ask A Ton Of Questions And Never Reply But Make A Bunch Of Useless Shareware No One Will Buy.

-uso.