comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Keyboard manipulation
Date: 1999/10/19
Date: 1999-10-19T00:00:00+00:00	[thread overview]
Message-ID: <380C31D0.A872C1CF@maths.unine.ch> (raw)
In-Reply-To: 380BAAA3.10777669@algopharm.com

> I'm pretty new to ADA and to this Newsgroup. I have a quite easy
> question: I know that is possible to get a character with the
> Ada.Text_io.Get_Immediate command, that take the carcater without the
> 'return' . Okay ! Now, I'd like to know how to get the arrays caracters
> (left, right, up, down) of the keyboard...
> It takes... I don't know what ...

Which platform, OS ? On PC there are pairs ASCII.NUL & 'H' etc. for
special keys (according to the OS)... To test it you can
make a loop that displays the ASCII code of Ada.Text_io.Get_Immediate
via character'pos(...). It could tell things...

-- 
Gautier

_____\\________________\_______\
http://members.xoom.com/gdemont/




  reply	other threads:[~1999-10-19  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-18  0:00 Keyboard manipulation Eric poirier
1999-10-19  0:00 ` Gautier [this message]
1999-10-22  0:00   ` Eric poirier
1999-10-19  0:00 ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox