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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e4bb63e08046e1a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-27 13:03:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 27 Oct 2002 15:03:54 -0600 Date: Sun, 27 Oct 2002 16:03:54 -0500 From: Ze Administrator Reply-To: groleaufamily@despammed.com Organization: Ain't no organization here User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, es-mx, pt-br, fr-ca, de, MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: In case statment? (was Re: is exception when others => null; smart?) References: <3DB8204B.2080804@attbi.com> <3DB89B83.2060609@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <1uidnV-D27onySGgXTWcqA@comcast.com> X-Trace: sv3-vUYISfcvxYwP91H3wuScjc4a3q63x7QkQy6KrLUHNESTHJL+Ny0PJAe4C+hkiRZ4eIfFQWZt1kZCrlI!Cj6+LDqBxU+agZscJ93OC97iNWpoZv1Xw1A3hlPj7CjD0uRl/CL6Z6Dna9SuwA== X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:30175 Date: 2002-10-27T16:03:54-05:00 List-Id: > Now my next question is should a case statment be: > > case Number is > > when others => > null; > end case; > > Or simply: > > case Number is > > end case; Not easy to do, but it would be really cool if you could generate case Number is when One => when Two => when Three => etc. In other words, if the tool could be smart enough to find and parse the type of Number and provide all the slots.