[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Delete key issue...
"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.
/* keypress values for the apple */
#define RTARROW 21
#define LTARROW 8
#define UPARROW 11
#define DNARROW 10
#define ESCAPE 27
/* What is called Backspace on a PC is called Delete on an Apple. */
#define DELETE 127
/* What is called Return on an Apple is called Enter on a PC... */
#define ENTERKEY 13
#define SPACEBAR 32