comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: string input
Date: Tue, 27 Nov 2001 09:33:24 +0000 (UTC)
Date: 2001-11-27T09:33:24+00:00	[thread overview]
Message-ID: <slrna06nf3.mr.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 4lGM7.83122$XJ4.45243851@news1.sttln1.wa.home.com

* Mark Lundquist wrote:
>"Robert Dewar" <dewar@gnat.com> wrote in message
>> Note that if you are using GNAT, the function
>> Ada.Strings.Unbounded.Get_Line is very convenient
>> for reading strings of varying length.
>
>I believe it's Ada.Strings.Unbounded.Text_Io.Get_Line

GNAT tends to use recursion, which is known to genereate problems.
 Problematic version:
   http://www.iks-jena.de/mitarb/lutz/ada/reverse_line_tokens__adb.htm
 Scalable version:
   http://www.iks-jena.de/mitarb/lutz/ada/shuffle_text_tokens__adb.htm




      reply	other threads:[~2001-11-27  9:33 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
2001-11-27  6:25   ` Mark Lundquist
2001-11-27  9:33     ` Lutz Donnerhacke [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