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-7-bit X-Google-Thread: 103376,715875e575230543 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-22 08:01:04 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Thought this was funny Date: Wed, 22 Oct 2003 15:00:58 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-129-4-215.in-addr.btopenworld.com X-Trace: titan.btinternet.com 1066834858 16406 81.129.4.215 (22 Oct 2003 15:00:58 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 22 Oct 2003 15:00:58 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:1425 Date: 2003-10-22T15:00:58+00:00 List-Id: "Xenos" wrote in message news:bn42kf$ca3@cui1.lmms.lmco.com... > Reviewing some old code we are converting from Ada 83 to 95, I came across > this: > > case is > when true => > > > when false => > > > end case; Thinks that's bad, I reviewed one guys work with: case Boolean_Expression is when False => ... when True => ... when others => ... end case; Now try and get 100% path coverage with that beauty!! :-)