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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,26f4415626696f47,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-18 01:30:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!i2unix!newsfeed.mclink.it!not-for-mail From: "F" Newsgroups: comp.lang.ada Subject: please help me!!!!!! Date: Thu, 18 Oct 2001 09:33:40 +0200 Organization: MC-link S.p.A. Message-ID: <9qm0di$25sj$1@newsreader1.mclink.it> NNTP-Posting-Host: net154-133.mclink.it X-Trace: newsreader1.mclink.it 1003390194 71571 195.110.154.133 (18 Oct 2001 07:29:54 GMT) X-Complaints-To: usenet@newsreader1.mclink.it NNTP-Posting-Date: Thu, 18 Oct 2001 07:29:54 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Xref: archiver1.google.com comp.lang.ada:14866 Date: 2001-10-18T09:33:40+02:00 List-Id: I want to "clean" the keyboard buffer after a user action, for example i have a piece of a procedure such as ... c:character; s:string(1..20); ind:integer:=1; ... while not end_of_line loop get(c); s(i):=c; i:=i+1; end loop; if a user writes "hello" and then press return i see that in my s string there is the right information but now every time i recall the procedure the function end_of_line starts with the true value and so the while loop is skipped, i should try to clean the keyboard buffer after every user's press of return. I'm so sorry for my terrible english but i must understand in which way solve this problem. Thank you for your attenction bye Phosphorus