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.1 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,cbb87dd49168c396 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-30 09:15:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newspeer.clara.net!news.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Get_Line Date: Wed, 30 Oct 2002 18:09:21 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: <3DBF3659.30709@acm.org> <4dRv9.46453$wm6.7691@nwrddc01.gnilink.net> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1035998025 995 195.25.228.57 (30 Oct 2002 17:13:45 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 30 Oct 2002 17:13:45 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:30234 Date: 2002-10-30T18:09:21+01:00 List-Id: "Justin Birtwell" a �crit dans le message news: 4dRv9.46453$wm6.7691@nwrddc01.gnilink.net... > Jeffery, > > Thank you for your detailed response. First I apologize for not including > the call to Get_Line() in my original post. I'd like to make reparations by > providing the correct code at the tail of this post. > > I'm running this code on my laptop (WinXP), but I don't want to write > non-portable code, meaning code that will only run on the Win32 platform. I > believe that your assessment about the line terminator behavior with > Get_Line is the cause of the problem. I tried calling Skip_Line immediately > after the call but with seeming no affect. I'm going to try to find the > packages you have referred to. > [snip] The simplest way to make sure you start a fresh line is to call set_col(1). It will do nothing if you are already at the start of the line, and will return you to the start of a new line in all other cases. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr