[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
You beat me to the punch, but you can also use print chr$(255).
-- 
Notice to spammers: This is to be considered a contract. You may only
use my e-mail box for advertiseing IF you send me $10 (US) for the first
kilobyte of data, and $1 for each additionial K of data. If I have not
recieved the money withing 1 week of the arrival of the message in my
e-mail box, the price for downloading and archiving for the week will be
$100. If you do not agree to these terms, do not send me bulk e-mail.
Remove the pay from my address if you agree to these terms.