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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f6c360ce344b2364 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.68.196.232 with SMTP id ip8mr20651671pbc.6.1340151087802; Tue, 19 Jun 2012 17:11:27 -0700 (PDT) Path: l9ni70449pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: robin.vowels@gmail.com Newsgroups: comp.lang.ada Subject: Re: My Invention of "Bug Sort". Date: Tue, 19 Jun 2012 17:11:27 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3852c348-a728-44ed-b065-c8a596c1e235@googlegroups.com> NNTP-Posting-Host: 123.2.70.40 Mime-Version: 1.0 X-Trace: posting.google.com 1340151087 4011 127.0.0.1 (20 Jun 2012 00:11:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Jun 2012 00:11:27 +0000 (UTC) In-Reply-To: <3852c348-a728-44ed-b065-c8a596c1e235@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.2.70.40; posting-account=S_MdrwoAAAD7T2pxG2e393dk6y0tc0Le User-Agent: G2/1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2012-06-19T17:11:27-07:00 List-Id: On Tuesday, 19 June 2012 17:13:28 UTC+10, Austin Obyrne wrote: > Copyright =A9 2012 Austin O'Byrne. >=20 > Let us say that =93NextNum=94 is a variable in a program output string th= at the user wants to sort at the end of the program run. >=20 > How it works. >=20 > Each change in =91NextNum=92 is trapped as it is computed by a =91bug=92 = strategically placed in the lines of source code.=20 >=20 > Q :=3D NextNum(I); > I_NUM(Q):=3D I_NUM(Q)+1; How large is Q?