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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-18 06:30:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!nntp.infostrada.it!i2unix!newsfeed.mclink.it!not-for-mail From: "F" Newsgroups: comp.lang.ada Subject: Re: please help me!!!!!! Date: Thu, 18 Oct 2001 15:04:17 +0200 Organization: MC-link S.p.A. Message-ID: <9qmjpl$28vi$1@newsreader1.mclink.it> References: <9qm0di$25sj$1@newsreader1.mclink.it> NNTP-Posting-Host: net154-133.mclink.it X-Trace: newsreader1.mclink.it 1003410038 74738 195.110.154.133 (18 Oct 2001 13:00:38 GMT) X-Complaints-To: usenet@newsreader1.mclink.it NNTP-Posting-Date: Thu, 18 Oct 2001 13:00:38 +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:14881 Date: 2001-10-18T15:04:17+02:00 List-Id: Thanks to all for your help bye phosphorus... F ha scritto nel messaggio <9qm0di$25sj$1@newsreader1.mclink.it>... >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 > > >