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!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.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:51:09 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: NNTP-Posting-Host: acpj86.neoplus.adsl.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlantis.news.tpi.pl 1191487926 24976 83.10.215.86 (4 Oct 2007 08:52:06 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 4 Oct 2007 08:52:06 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:2292 Date: 2007-10-04T10:51:09+02:00 List-Id: Jeffrey R. Carter pisze: > You're right. Most of them can be corrected by learning to use the > underline in identifiers. Well, sorry :) I did in the real code, and here I wrote the fragment "ad hoc" forgetting about it. > My_Array is much clearer than Myarray. Uniform > capitalization will help, too: mxp, MyArray, sizegiven, ... Yup, of course :) Thanks :) > I don't see any problem with your approach; it seems clear and easy to > understand to me. But the use of unconstrained array types and > operations on them, as suggested elsewhere, may help give you something > more to your taste. It's not that's difficult to understand - I just, after dealing with other languaes, am not yet used to defining functions in nested blocks. Which acctually may be a good aproach and logical. Ada in many places force me to change my mind schemes :) Regards, -- Mateusz Papiernik, Maticomp Webdesign Projektowanie i realizacja witryn WWW mati@maticomp.net, http://www.maticomp.net "One man can make a difference" - Wilton Knight