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-Thread: 103376,ee1a8b8db84c88f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!feed.news.tiscali.de!newsfeed.vmunix.org!newsfeed.stueberl.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada exception block does NOT work? Date: Sun, 21 Aug 2005 20:48:59 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1124653738 8073 62.49.19.209 (21 Aug 2005 19:48:58 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 21 Aug 2005 19:48:58 +0000 (UTC) Cancel-Lock: sha1:FTUi1fkvpeJfbM0ch70PN6dSGYo= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:4244 Date: 2005-08-21T20:48:59+01:00 List-Id: tmoran@acm.org writes: >> type Stack_Index is range 1..whatever; >> subtype Stack_Count is Stack_Index'Base range 0..whatever; > Or > type Stack_Count is range 0..whatever; > subtype Stack_Index is Stack_Count range 1..Stack_Count'last; > which only has a single instance of "whatever". Well, Bob's could have been phrased that way too .. what I particularly liked was the means of _extending_ the range.