comp.lang.ada
 help / color / mirror / Atom feed
From: Mateusz Papiernik <mati@maticomp.net>
Subject: Re: Nested declares, constant size arrays and clarity
Date: Thu, 04 Oct 2007 10:49:10 +0200
Date: 2007-10-04T10:49:10+02:00	[thread overview]
Message-ID: <fe29fv$ocg$3@atlantis.news.tpi.pl> (raw)
In-Reply-To: <87641n92tc.fsf@ludovic-brenta.org>

Ludovic Brenta pisze:
> Yes, it is called an "unconstrained array type".  Here is how you
> would do it:

Thanks! That's something I missed reading docs. Basically, that's 
exactly what I want to do.

> PS. What I described above is exactly how the predefined type String
> works; it is an unconstrained array of Character's.  Look at the
> standard subprograms that operate on Strings for more inspiration.

With strings I also have to work some way. As for now I'm using 
Unbounded_Strings, because easy implementations of functions like split 
(I'm parsing CSV file). Is it a good practice to use U_S, or should I 
fall back to normal strings and fight with implementation?


Thanks!
-- 
Mateusz Papiernik, Maticomp Webdesign
Projektowanie i realizacja witryn WWW
mati@maticomp.net, http://www.maticomp.net
"One man can make a difference" - Wilton Knight



  reply	other threads:[~2007-10-04  8:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 22:58 Nested declares, constant size arrays and clarity Mateusz Papiernik
2007-10-03 23:49 ` Ludovic Brenta
2007-10-04  8:49   ` Mateusz Papiernik [this message]
2007-10-04 11:33     ` Ludovic Brenta
2007-10-04 12:45       ` Dmitry A. Kazakov
2007-10-04 13:11         ` Mateusz Papiernik
2007-10-05  5:00           ` Jeffrey R. Carter
2007-10-05  4:58         ` Jeffrey R. Carter
2007-10-05  7:38           ` Dmitry A. Kazakov
2007-10-05 17:08             ` Jeffrey R. Carter
2007-10-05  4:54     ` Jeffrey R. Carter
2007-10-04  0:20 ` Jeffrey R. Carter
2007-10-04  8:51   ` Mateusz Papiernik
2007-10-05  2:45     ` Steve Whalen
2007-10-04  0:23 ` anon
replies disabled

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