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,ac61eafbef01b3f9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-20 11:06:14 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <3AB78417.236D1AFF@praxis-cs.co.uk> Subject: Re: Question about 'valid X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Tue, 20 Mar 2001 19:03:07 GMT NNTP-Posting-Host: 24.20.66.55 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 985114987 24.20.66.55 (Tue, 20 Mar 2001 11:03:07 PST) NNTP-Posting-Date: Tue, 20 Mar 2001 11:03:07 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:5916 Date: 2001-03-20T19:03:07+00:00 List-Id: Peter Amey wrote in message news:3AB78417.236D1AFF@praxis-cs.co.uk... > > Can I ask for the collected wisdom on the following please: > > Given X : T; > > If X'Valid is true and X is scalar is it always true that: > > X in T; > X >= T'First; > X <= T'Last; > Yes. > If the answer is yes then is it still true if T is an enumeration type > with a representation clause which leads to holes in its representation. Yes. -- mark P.S. Can you explain what that little ASCII graphic is in your signature footer? I've always wondered about that! To me, it looks like a saxophone... :-) > -------------------------------------------------------------------------- - > __ Peter Amey, Product Manager > ) Praxis Critical Systems Ltd > / 20, Manvers Street, Bath, BA1 1PX > / 0 Tel: +44 (0)1225 466991 > (_/ Fax: +44 (0)1225 469006 > http://www.praxis-cs.co.uk/ > > -------------------------------------------------------------------------- %%%