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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2a24f6d5d81982cc,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-08 23:37:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!proxad.net!usenet-fr.net!enst.fr!not-for-mail From: christoph.grein@eurocopter.com Newsgroups: comp.lang.ada Subject: Re: Simple program to find average of 3 numbers Date: Wed, 9 Jul 2003 08:24:33 +0200 (MET DST) Organization: ENST, France Message-ID: Reply-To: grein@egypt.otn.eurocopter.de NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: avanie.enst.fr 1057732606 70653 137.194.161.2 (9 Jul 2003 06:36:46 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 9 Jul 2003 06:36:46 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Authentication-Warning: mail.eurocopter.com: uucp set sender to using -f Content-MD5: UDriB9NrEjGnmoHOeUyUpQ== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:40140 Date: 2003-07-09T08:24:33+02:00 type T1 is range a .. b; type T2 is new T0 range a .. b; For T1, you leave the choice of base type to the compiler (T1'Base is implementation defined - it will normally be the smallest predefined type having a matching range). For T2, T2'Base has the same constraints as T0'Base.