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, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,68ab861309518ae8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-20 07:35:04 PST Path: supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erinews.ericsson.se!news.emw.ericsson.se!not-for-mail Message-ID: <3AE04917.DF97BEA0@emw.ericsson.se> From: Sven Nilsson Reply-To: sven.nilsson@emw.ericsson.se Organization: Ericsson Microwave Systems AB X-Mailer: Mozilla 4.75C-EMW [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: enumration using integers? References: <3ADEC4E8.954B6830@emw.ericsson.se> <3ADFC797.7D2D537D@emw.ericsson.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 20 Apr 2001 16:35:03 +0200 NNTP-Posting-Host: 136.225.182.69 X-Trace: news.emw.ericsson.se 987777303 136.225.182.69 (Fri, 20 Apr 2001 16:35:03 MET DST) NNTP-Posting-Date: Fri, 20 Apr 2001 16:35:03 MET DST Xref: supernews.google.com comp.lang.ada:7041 Date: 2001-04-20T16:35:03+02:00 List-Id: Ted Dennison wrote: > Hmm. I don't see anything in the above that couldn't have been done by making > Distance a sybtype of Integer. Are you saying that you just want an integer type > with "holes" in it, so that > Dist := 2; > would raise a Constraint_Error? Yepp, that sounds about right. I've been looking for something like that in Barnes but I couldn't find it... Any clue? -Sven