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,723d750f4b80c21e,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 02:30:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!newsfeeder.inwind.it!inwind.it!nntp.infostrada.it!i2unix!newsfeed.mclink.it!not-for-mail From: "F" Newsgroups: comp.lang.ada Subject: a little help Date: Tue, 16 Oct 2001 10:39:14 +0200 Organization: MC-link S.p.A. Message-ID: <9qgrgh$1f10$1@newsreader1.mclink.it> NNTP-Posting-Host: net154-133.mclink.it X-Trace: newsreader1.mclink.it 1003221329 48160 195.110.154.133 (16 Oct 2001 08:35:29 GMT) X-Complaints-To: usenet@newsreader1.mclink.it NNTP-Posting-Date: Tue, 16 Oct 2001 08:35:29 +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:14641 Date: 2001-10-16T10:39:14+02:00 List-Id: Hello world, i'm trying to learn Ada but i've a lot of problems with the operations with strings. In particular i've a procedure for the input: type st is new string; procedure leggis (j: in out st) is c:character; begin while not end_of_line loop get(c); b(ind):=c; ind:=ind+1; end loop; end leggis; when i call the first time this procedure i obtain the input string but the second time nothing happens..... I think that character return remains in the keyboard buffer, how can I resolve this problem????? Excuse me for the scarce clarity of my english....... Thank you! :-))