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,a1458d1793850de4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 13:38:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "CheGueVerra" Newsgroups: comp.lang.ada References: Subject: Re: Interger_io get and Text_io.Get_line X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Thu, 16 Oct 2003 16:22:58 -0400 NNTP-Posting-Host: 67.68.219.237 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1066335772 67.68.219.237 (Thu, 16 Oct 2003 16:22:52 EDT) NNTP-Posting-Date: Thu, 16 Oct 2003 16:22:52 EDT Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:1018 Date: 2003-10-16T16:22:58-04:00 List-Id: Okay, after playing with it some more, I found that if I do this Put_line("Enter a number"); Entiers.get(Number, 2); Skip_line; Put_line("Enter a string"); Get_Line(TstStr, Last); Put_line(TstStr(TstStr'First..Last)); then the program runs as I expect it to do, the thing is I don't understand why I need a Skip_line for it to work, So if anyone can shed some light on that I would appriciate it TIA CheGueVerra