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: Gautier Subject: Re: Keyboard manipulation Date: 1999/10/19 Message-ID: <380C31D0.A872C1CF@maths.unine.ch>#1/1 X-Deja-AN: 537857452 Content-Transfer-Encoding: 7bit References: <380BAAA3.10777669@algopharm.com> Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-10-19T00:00:00+00:00 List-Id: > 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/