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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,20232a8c90fb8b29 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-20 06:41:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!freenix!enst!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: Null range in a single-member enumaration. How to? Date: Mon, 20 May 2002 08:40:01 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1021902062 81119 137.194.161.2 (20 May 2002 13:41:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 20 May 2002 13:41:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:24414 Date: 2002-05-20T08:40:01-05:00 ----- Original Message ----- From: "Pat Rogers" Newsgroups: comp.lang.ada To: Sent: Monday, May 20, 2002 8:30 AM Subject: Re: Null range in a single-member enumaration. How to? > "AG" wrote in message > news:JO3G8.1472$EZ5.227090@news.xtra.co.nz... > > > type x is (a); -- (a, b); > > > > type y is array (x'last..x'first) of boolean; -- Works fine for (a, b); but > not (a); > > Why not just > > type y is array ( x ) of boolean; The question was how to declare an _empty_ array, when the index type has only one value. > > ??? > > --- > Patrick Rogers Consulting and Training in: > http://www.classwide.com Real-Time/OO Languages > progers@classwide.com Hard Deadline Schedulability Analysis > (281)648-3165 Software Fault Tolerance > > > > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >