From: dewar@gnat.com (Robert Dewar)
Subject: Re: string input
Date: 26 Nov 2001 20:05:40 -0800
Date: 2001-11-27T04:05:40+00:00 [thread overview]
Message-ID: <5ee5b646.0111262005.74c646cc@posting.google.com> (raw)
In-Reply-To: GhByriDlSyh1@ludens
kotee@ludens.elte.hu wrote in message news:<GhByriDlSyh1@ludens>...
> helo
>
> what can i do if i wanna read user input to a string with
> length short (i wanna do it in loop), and user write a
> very long string. if it happens the next and the next...
> input is filled with that trash of first input...
> pls hlp
>
> kotee
Note that if you are using GNAT, the function
Ada.Strings.Unbounded.Get_Line is very convenient
for reading strings of varying length.
next prev parent reply other threads:[~2001-11-27 4:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 9:45 string input kotee
2001-11-26 14:49 ` Alfred Hilscher
2001-11-26 16:51 ` Jeffrey Carter
2001-11-26 17:16 ` kotee
2001-11-26 15:11 ` Matthew Heaney
2001-11-27 4:05 ` Robert Dewar [this message]
2001-11-27 6:25 ` Mark Lundquist
2001-11-27 9:33 ` Lutz Donnerhacke
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox