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-Thread: a07f3367d7,a9916530bf157e77 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.217.195 with SMTP id hn3mr45252630qab.5.1367318973784; Tue, 30 Apr 2013 03:49:33 -0700 (PDT) X-Received: by 10.49.119.99 with SMTP id kt3mr4669698qeb.22.1367318973725; Tue, 30 Apr 2013 03:49:33 -0700 (PDT) Path: ef9ni36305qab.0!nntp.google.com!s14no1160171qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 30 Apr 2013 03:49:33 -0700 (PDT) In-Reply-To: <5d751787-2574-475c-befc-553fcd02e6b6@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.7.54.43; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.7.54.43 References: <87c89205-7fee-4d88-b4ab-08d26c03219b@googlegroups.com> <99d9a17c-ed8d-4c28-90d0-6543b511cb87@googlegroups.com> <4c3eca49-8ee6-4518-9968-879c08b828f6@googlegroups.com> <61f44636-ad71-447f-a20e-473e613f63ff@googlegroups.com> <5d751787-2574-475c-befc-553fcd02e6b6@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <777dc0de-bdae-4b11-b1e1-5187a4d90e77@googlegroups.com> Subject: Re: Depth First Search of a Char_Matrix? From: AdaMagica Injection-Date: Tue, 30 Apr 2013 10:49:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-04-30T03:49:33-07:00 List-Id: On Monday, April 29, 2013 10:55:46 PM UTC+2, Alex wrote: > This is what I have so far but I am going out of Bounds and I am not sure why?? No wonder. This is written in a terrible style. One character names M, V, which don't tell you anything about the meaning. Counts as Integer - a count is Natural, or do you have negative numbers of pieces? Parameters X, Y as Integer, equally bad. Think about good subtypes for your problem.