From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4474d55f43793f3f X-Google-Attributes: gid103376,public From: Eric poirier Subject: Re: Keyboard manipulation Date: 1999/10/22 Message-ID: <3810DFB1.58F13D4B@algopharm.com>#1/1 X-Deja-AN: 539416414 Content-Transfer-Encoding: 7bit References: <380BAAA3.10777669@algopharm.com> <380C31D0.A872C1CF@maths.unine.ch> Content-Type: text/plain; charset=us-ascii X-Trace: carnaval.risq.qc.ca 940629939 132.208.15.118 (Fri, 22 Oct 1999 18:05:39 EDT) Organization: Algorithme Pharma Inc MIME-Version: 1.0 NNTP-Posting-Date: Fri, 22 Oct 1999 18:05:39 EDT Newsgroups: comp.lang.ada Date: 1999-10-22T00:00:00+00:00 List-Id: Gautier wrote: > > 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/ Thanks !!! I'll try that !!!