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: a07f3367d7,bf03d731a6ef511f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!z10g2000prh.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Copying rows in a two dimensional array. Date: Mon, 8 Feb 2010 17:05:24 -0800 (PST) Organization: http://groups.google.com Message-ID: <3e1a4234-95ef-4e77-a87d-1bc6e560fe7f@z10g2000prh.googlegroups.com> References: <12ezqn0wq0lmm$.s7nr5aueiwa4$.dlg@40tude.net> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265677524 20082 127.0.0.1 (9 Feb 2010 01:05:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 9 Feb 2010 01:05:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z10g2000prh.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9011 Date: 2010-02-08T17:05:24-08:00 List-Id: On Feb 8, 1:20=A0pm, Robert A Duff wrote: > And anyway, slices as L-values don't really work: > > =A0 =A0 X : String :=3D "abc"; > > =A0 =A0 X (2..2) :=3D "xxx"; > > One might expect X =3D "axxxc", One *what*?? One Perl programmer??? Really, I don't expect that anyone who understands Ada is going to get this wrong. Programmers who haven't yet learned the language may not understand it, but that's probably true of *any* feature of the language, except perhaps for this: procedure Main_Program is begin null; end Main_Program; Like most of the other posters here, I find slices very useful. Also, I don't have a particular problem using them, on both sides of ":=3D". I don't think I get them wrong any more than I get anything else wrong. -- Adam