comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: oo problem help please
Date: Tue, 09 Dec 2003 17:45:13 +0100
Date: 2003-12-09T17:45:13+01:00	[thread overview]
Message-ID: <3239532.WQJFbecukG@linux1.krischik.com> (raw)
In-Reply-To: mailman.49.1070925576.31149.comp.lang.ada@ada-france.org

Marius Amado Alves wrote:

> - redefine the component to be a pointer to string, then write This.Name
> := new String' (Name);

There are better ways then the use Pointers. Beginners are better of using
Ada.Strings.Unbounded (http://www.adaic.org/standards/95lrm/html
RM-A-4-5.html) and think about the advanced techniques laster.

I don't think he is planning for embedded software where
Ada.Strings.Unbounded might be a problem.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://adacl.sourceforge.net




  reply	other threads:[~2003-12-09 16:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 19:49 oo problem help please shoko
2003-12-08 23:19 ` Marius Amado Alves
2003-12-09 16:45   ` Martin Krischik [this message]
2003-12-09 16:42 ` Martin Krischik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox