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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,15480fcd593513b9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 24 Sep 2009 09:06:15 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Table of pointers question References: <4abb18bc$0$30225$9b4e6d93@newsspool1.arcor-online.net> In-Reply-To: <4abb18bc$0$30225$9b4e6d93@newsspool1.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4abb1a68$0$30235$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 24 Sep 2009 09:06:16 CEST NNTP-Posting-Host: aadc8199.newsspool1.arcor-online.net X-Trace: DXC=UJ1J6[mcO16n`gW2MTm]<3ic==]BZ:af>4Fo<]lROoR1^YC2XCjHcb9K@IAnBOcfk8A:ho7QcPOV3]:T8F@RoX::SLk>ODOV0?< X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8455 Date: 2009-09-24T09:06:16+02:00 List-Id: Georg Bauhaus wrote: > Rob Solomon wrote: >> I am working my way thru Ada As A Second Language by Norman Cohen (c) >> 1996 >> >> This confuses me. >> >> It is a simple sorting routine that swaps pointers rather than the >> data. Note that the variables are more like Modula-2 syntax as I am >> very comfortable with that. And it is easier to type. > > Has something gone wrong when (I'm guessing here) the > program was rewritten for Ada? The compiler shows some > errors. I'll take this one back after learning that the program is a modified copy from section 8.5.3 of Cohen's book. Anyway, to run a compiler can be helpful :-)