From: manahag@ucunix.san.uc.edu (Craig Manahan)
Subject: Re: How do I "Get" just 4 characters?
Date: Fri, 5 Mar 1993 05:56:01 GMT
Date: 1993-03-05T05:56:01+00:00 [thread overview]
Message-ID: <C3EJ5D.4yH@ucunix.san.uc.edu> (raw)
In-Reply-To: 9303041121.aa12530@Paris.ics.uci.edu
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
prev parent reply other threads:[~1993-03-05 5:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-03-04 19:22 How do I "Get" just 4 characters? Kenneth Anderson
1993-03-04 22:18 ` Dat Trieu Le
1993-03-04 23:20 ` Ron Sercely
1993-03-05 5:45 ` Dat Trieu Le
1993-03-05 15:55 ` Ron Sercely
1993-03-05 5:56 ` Craig Manahan [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox