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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,573eaaf4512d4a54,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-11 16:16:03 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!howland.erols.net!news3.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Freelancer" Newsgroups: comp.lang.ada Subject: Reading the keyboard buffer X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <8jlP5.47675$1C6.2182640@news20.bellglobal.com> Date: Sun, 12 Nov 2000 00:16:04 GMT NNTP-Posting-Host: 64.229.206.237 X-Trace: news20.bellglobal.com 973988164 64.229.206.237 (Sat, 11 Nov 2000 19:16:04 EST) NNTP-Posting-Date: Sat, 11 Nov 2000 19:16:04 EST Organization: Sympatico Xref: supernews.google.com comp.lang.ada:2029 Date: 2000-11-12T00:16:04+00:00 List-Id: Lately, I have been suffering from post-partum stress... No wrong one.. That's something else.. Anyway, I would be quite grateful if someone could lend me a hand on how to make a simple event-driven loop where the keyboard buffer or whatever it is I have to check when someone presses a key. Something that would resemble an algorithm of the sort : loop if keybd buffer equals ascii.eot then ... instructions end if clr_buffer end loop