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-Language: ENGLISH,ASCII X-Google-Thread: 103376,2dae9e735b6ea318 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-26 08:51:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!oleane.net!oleane!setranews.setra.fr!not-for-mail From: Claude SIMON Newsgroups: comp.lang.ada Subject: Re: record question Date: Fri, 26 Oct 2001 17:50:06 +0200 Organization: SETRA - CTOA Message-ID: <3BD9862D.3356B2B6@setra.fr> References: <3BD9618C.D154FE0C@icn.siemens.de> <3BD96844.699A15BC@setra.fr> NNTP-Posting-Host: calamar.setra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: setranews.setra.fr 1004111257 10311 161.48.101.33 (26 Oct 2001 15:47:37 GMT) X-Complaints-To: usenet@setranews.setra.fr NNTP-Posting-Date: 26 Oct 2001 15:47:37 GMT X-Mailer: Mozilla 4.7 [fr] (WinNT; I) X-Accept-Language: fr Xref: archiver1.google.com comp.lang.ada:15259 Date: 2001-10-26T15:47:37+00:00 List-Id: In general (when it make sense) when I declare an array, I declare a constant of that array type with an empty range of any (may be empty) value. That constant is used in place of a 0 elements aggregate. Claude Simon Ted Dennison a �crit : > In article <3BD96844.699A15BC@setra.fr>, Claude SIMON says... > >The same problem arise when you want to pass an array of one element, you > >must > >write (1=> X). > > ..and for an array of 0 elements (yes, those can exist), it would be (others => > Whatever) (replace "Whatever" with a placebo expression of the appropriate > type). > > --- > T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html > > No trees were killed in the sending of this message. > However a large number of electrons were terribly inconvenienced.