[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A simple BASIC question
David Empson wrote:
> Gabriel Morales <Togega@concentric.net> wrote:
>
> > I once wrote a program on the //e that used the 'Delete' key symbol.
>
> Just for output? All you need to do is:
>
> PRINT CHR$(127);
>
> > Well, I lost the copy, but I did write it down and now I don't know how to
> > use the 'Delete' key symbol on the IIGS. If someone could be of help...
>
> Ah, there is one noticeable difference between the IIgs and IIe in this
> area: the IIgs keyboard input routines treat the Delete key like the
> left arrow key (backspace), while the IIe just treats it as a normal
> enterable character.
>
> This means that you could actually type in PRINT "x"; on the IIe (where
> 'x' is the delete symbol), while the IIgs will not be able to do this.
>
> If you want to be able to detect the Delete key when inputting data on
> the IIgs, you will have to use GET or peek the keyboard directly. You
> can't get one via INPUT (short of some serious patching).
>
> --
> David Empson
> dempson@actrix.gen.nz
> Snail mail: P.O. Box 27-103, Wellington, New Zealand
while we're at this topic... is there a patch I can use on prodos or dos3.3
so that my //e treats the delete key like a backspace? I've gotten used to
hitting the delete key to erase things and it's very annoying to see that
checkered box appear on the screen. same goes with my //c (non plus)