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,1e4bb63e08046e1a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-28 02:04:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: In case statment? (was Re: is exception when others => null; smart?) Date: Mon, 28 Oct 2002 10:04:41 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3DB8204B.2080804@attbi.com> <3DB89B83.2060609@acm.org> <1uidnV-D27onySGgXTWcqA@comcast.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1035799481 24092 129.241.83.78 (28 Oct 2002 10:04:41 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 28 Oct 2002 10:04:41 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:30182 Date: 2002-10-28T10:04:41+00:00 List-Id: Ze Administrator wrote: > 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. Not easy, besides what if you wanted: case Numer is when One | Two => -- when Three => -- -- Preben Randhol -------------------- http://www.pvv.org/~randhol �.., chaos is found in greatest abundance wherever order is being sought. It always defeats order, because it is better organized.� -- Interesting Times, Terry Pratchett