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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,343551ac8a3d0216 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1993-03-05 18:08:29 PST Newsgroups: comp.lang.ada Path: sparky!uunet!portal!sdd.hp.com!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!manahag From: manahag@ucunix.san.uc.edu (Craig Manahan) Subject: Re: How do I "Get" just 4 characters? Message-ID: Organization: University of Cincinnati References: <9303041121.aa12530@Paris.ics.uci.edu> Date: Fri, 5 Mar 1993 05:56:01 GMT Date: 1993-03-05T05:56:01+00:00 List-Id: This may be no help at all but here it goes... When you get A as a String of length 4 you really do only have "1234" but, when you do a PUT_LINE it is putting the entire input buffer. If you just want to have the output be "1234" either insert a Text_IO.Skip_Line before you do a Put_Line or just use Text_IO.Put instead of Put_Line Just an assumption since I've never used Put_Line before. Craig