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,db88d0444fafe8eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!wns14feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Surprise in array concatenation Date: 5 Sep 2005 17:50:13 -0500 Organization: LJK Software Message-ID: <2CY$GoGxppcL@eisner.encompasserve.org> References: <1125610942.747981.280770@f14g2000cwb.googlegroups.com> <1125935610.797293.40550@g43g2000cwa.googlegroups.com> <6W0Te.5718$4P5.4916@newsread2.news.pas.earthlink.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1125960590 18606 192.135.80.34 (5 Sep 2005 22:49:50 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 5 Sep 2005 22:49:50 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:4456 Date: 2005-09-05T17:50:13-05:00 List-Id: In article , Robert A Duff writes: > "Jeffrey R. Carter" writes: > >> Gene wrote: >> >> > -- 'First is not always 1. How marginally >> > Ada! >> >> 'First is not always 1 (or 0, or X) is a basic concept in Ada. It's only >> if you don't know, or forget, this, and assume the behavior you learned >> in lesser languages, that you have problems. >> >> I came to Ada from Pascal, so I was used to the lower bound not being >> fixed, > > Heh? The lower (and upper!) bound of all array types in Pascal is > fixed. And it has to be fixed at a static value. Every array object of > a given type has the same fixed bounds. > > (Well, some version of Pascal added conformant arrays, which relaxed > this requirement for formal parameters.) That is true, in the same sense that some versions of Ada added modular types -- they were added to the standard.