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,7b5b3c67aa2a73fe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: Easy question about Character manipulation Date: Wed, 31 Jan 2007 21:02:15 +0000 Message-ID: References: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> <1d5n0ksoz75yy.3t2hhxjr35fq$.dlg@40tude.net> <1170106218.6329.63.camel@localhost> <1170121405.6329.89.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net 9yWwR4T+j46HYimUd9JdLALnkRfFvYSzrC2+shaefUIo38CaJO User-Agent: Microsoft-Entourage/11.3.3.061214 Thread-Topic: Easy question about Character manipulation Thread-Index: AcdFexWoVCFBBrFuEduzcQARJIjQTg== Xref: g2news2.google.com comp.lang.ada:8789 Date: 2007-01-31T21:02:15+00:00 List-Id: On 31/1/07 18:11, in article NZ4wh.374843$1i1.113582@attbi_s72, "Jeffrey R. Carter" wrote: > When I learned Pascal (not ISO), my understanding was that > > type > A = 1 .. 3; > > was called a subrange, and defined A as what Ada calls a subtype of > Integer. Since > > B = 1 .. 3; > > was another subtype of the same type (in Ada terms), assignment between > them was no problem. That is the practical effect, but it is not what the formal semantics actually says. And, of course, there is more to type than assignment. -- Bill Findlay chez blueyonder.co.uk