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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-28 02:33:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.xtra.co.nz!53ab2750!not-for-mail From: "AG" Newsgroups: comp.lang.ada References: <3E4E8F8C.9C096985@adaworks.com> <9fa75d42.0302250710.5549baaf@posting.google.com> <3E5C7033.BD5DC462@adaworks.com> <9fa75d42.0302260618.7506cba7@posting.google.com> <3E5CF5C6.84822F57@adaworks.com> <8qkczsAcGcn+Ew83@nildram.co.uk> <3EA04A1E.CAFC1FEF@adaworks.com> <9fa75d42.0304221126.7112b7d5@posting.google.com> Subject: Re: the Ada mandate, and why it collapsed and died (was): 64 bit addressing and OOP X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Mon, 28 Apr 2003 21:33:20 +1200 NNTP-Posting-Host: 219.88.62.118 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1051522381 219.88.62.118 (Mon, 28 Apr 2003 21:33:01 NZST) NNTP-Posting-Date: Mon, 28 Apr 2003 21:33:01 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:36683 Date: 2003-04-28T21:33:20+12:00 List-Id: "Robert A Duff" wrote in message news:wccn0ibnc5e.fsf@shell01.TheWorld.com... > Wesley Groleau writes: > > > > I'm thinking particularly of slices as L-values. Do you ever use that? > > > > I did that a lot in Ada days, too. > > An example, please? I can't say that I used that "a lot" but one example does come to mind: An existing interface which requires a string with a number of (almost unrelated) fields which must be placed at given offsets with given lengths. Since the fields are next to non-related except that they must fit into the same string it's quite a bit tempting to implement it as: X(L1..H1) := F1; X(L2..H2) := F2; etc