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,1cb75f0476fe2d1a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Half Constrained Array Types and Slices Date: 5 Mar 2006 20:16:53 -0600 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1141611403 24138 192.135.80.34 (6 Mar 2006 02:16:43 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 6 Mar 2006 02:16:43 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3275 Date: 2006-03-05T20:16:53-06:00 List-Id: In article , Robert A Duff writes: > Kilgallen@SpamCop.net (Larry Kilgallen) writes: > >> In article , "Jeffrey R. Carter" writes: >> >> > In Ada we have constrained and unconstrained array types; I call this a "half >> > constrained" array type so we have names for all of them. Since his language >> > doesn't have box, I presume an unconstrained array type would be: >> > >> > type Unconstrained (Lo : Positive; Hi : Natural) is array (Lo .. Hi) of Component; >> >> That looks to me very much like Pascal. > > Really? I don't know any version of Pascal that allows anything like > that. VAX/DEC/HP Pascal uses something like that not in a type declaration but in describing the type of a routine parameter.