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!proxad.net!news2.telebyte.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Ada compiler differences Date: Tue, 19 Oct 2004 21:52:06 +0100 Message-ID: References: <2tild3F20plpeU1@uni-berlin.de> NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1098219126 25799 62.49.62.197 (19 Oct 2004 20:52:06 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 19 Oct 2004 20:52:06 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:5474 Date: 2004-10-19T21:52:06+01:00 List-Id: On Mon, 18 Oct 2004 20:55:15 +0100, Nick Roberts wrote: > 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. Even if you use a use clause to specify how many bits you want it to take up (i.e. even in a record)? Thanks, Luke.