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,4ef4bf3098ab117 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Nick Roberts Newsgroups: comp.lang.ada Subject: Re: Ada compiler differences Date: Mon, 18 Oct 2004 20:55:15 +0100 Message-ID: <2tild3F20plpeU1@uni-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de gP5du7667TGVicLFO8SPZwpWS4c2nYutE0Jum4PVHV1ow/ogQ= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:5413 Date: 2004-10-18T20:55:15+01:00 List-Id: Luke A. Guest wrote: > Yeah, you'll need to define your own types, but surely these are going > to be "derived" from the default types, i.e. > > type Chutney is new Integer range 1 .. 5; > > Are you saying not to even do this? Yes. Normally it is better to simply put: type Chutney is range 1..5; and allow the implementation to select the best base type. -- Nick Roberts