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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13fd7bcbabaa9519,start X-Google-Attributes: gid103376,public From: cosc19z5@Bayou.UH.EDU (Spasmo) Subject: End of Line Question Date: 1996/07/12 Message-ID: <4s4tn7$po6@masala.cc.uh.edu>#1/1 X-Deja-AN: 167942386 organization: University of Houston newsgroups: comp.lang.ada Date: 1996-07-12T00:00:00+00:00 List-Id: Hi. In Ada95/83 is there any way to test if the end of line has been reached on the input? I'm still in the process of learning Ada, but I haven't found any info on that. What I'm trying to do is read characters one by one (via Ada.Text_IO.Get) and I would like to do so until CR is pressed. Unfortunately I find that Get ignores CRs entirely so I can't test what I read. I know that I could do use Ada.Text_IO.Get_Line, and process the string, however I would prefer to use Get for this. BTW, I'm using GNAT305S for DOS. Thanks in advance. -- Spasmo "Here's a present just for you When you open it, you'll be through" "Letter Bomb" by the Circle Jerks