comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol@pvv.org>
Subject: Re: [newbie] Need som feedback on code snip
Date: 1999/10/24
Date: 1999-10-24T11:30:58+00:00	[thread overview]
Message-ID: <m3d7u5571w.fsf@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3810B7FE.7C721399@mitre.org

"Robert I. Eachus" <eachus@mitre.org> writes:

|   Can I take this one?  Can I?  Can I please... ;-)

Take what? Sorry I don't understand.
 
|    Unbounded strings do for you all that ugly pointer and memory
| allocation and reclamation stuff that you have to worry about in C. 
| And,
| if you are using GNAT, there is a package Ada.Strings.Unbounded.Text_IO,
| that makes it still easier:

Ah thanks.

Thanks to everybody for replying!

The reason that I used aliased was that I wanted to see how it
worked. I agree that one should not use it for this simple example
though. Sorry for not commenting it.
-- 
Preben Randhol                 Affliction is enamoured of thy parts, 
[randhol@pvv.org]              And thou art wedded to calamity. 
[http://www.pvv.org/~randhol/]                    -- W. Shakespeare 




      reply	other threads:[~1999-10-24  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-22  0:00 [newbie] Need som feedback on code snip Preben Randhol
1999-10-22  0:00 ` [newbie] Need some " Matthew Heaney
1999-10-22  0:00 ` [newbie] Need som " Ted Dennison
1999-10-22  0:00   ` Ted Dennison
1999-10-22  0:00 ` Robert I. Eachus
1999-10-24  0:00   ` Preben Randhol [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