From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0fa2610a6bea4ec X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Mateusz Papiernik Newsgroups: comp.lang.ada Subject: Re: Nested declares, constant size arrays and clarity Date: Thu, 04 Oct 2007 10:49:10 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: <87641n92tc.fsf@ludovic-brenta.org> NNTP-Posting-Host: acpj86.neoplus.adsl.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlantis.news.tpi.pl 1191487807 24976 83.10.215.86 (4 Oct 2007 08:50:07 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 4 Oct 2007 08:50:07 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <87641n92tc.fsf@ludovic-brenta.org> Xref: g2news2.google.com comp.lang.ada:2291 Date: 2007-10-04T10:49:10+02:00 List-Id: 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