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, MSGID_RANDY 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: Ted Dennison Subject: Re: Keyboard manipulation Date: 1999/10/19 Message-ID: <7ui5du$gve$1@nnrp1.deja.com>#1/1 X-Deja-AN: 537761183 References: <380BAAA3.10777669@algopharm.com> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Oct 19 16:15:07 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-10-19T00:00:00+00:00 List-Id: In article <380BAAA3.10777669@algopharm.com>, Eric poirier 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... That depends on the platform and OS you are using. You may be able to reverse-engineer it for your system by writing a little program to output the results of a Get_Immediate. But don't expect those results to be valid for another OS or hardware platform. Many OS's have a high-level way to get at your special keyboard keys, but those will be OS calls, not Ada calls. > the screen, I now need to know how to compare with the character I've > got with the Get_Immediate before ... Is something wrong with "="? -- T.E.D. Sent via Deja.com http://www.deja.com/ Before you buy.