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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.237.59.118 with SMTP id q51mr275965qte.64.1475697427116; Wed, 05 Oct 2016 12:57:07 -0700 (PDT) X-Received: by 10.157.37.235 with SMTP id q98mr1262630ota.19.1475697427077; Wed, 05 Oct 2016 12:57:07 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.fcku.it!peer01.fr7!futter-mich.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g45no217875qte.1!news-out.google.com!203ni971itk.0!nntp.google.com!l13no325022itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 5 Oct 2016 12:57:06 -0700 (PDT) In-Reply-To: <1010051e-eb15-454e-bbe1-5b210fb9f7dd@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.55.212.101; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.55.212.101 References: <44638b2d-c7fb-4113-9262-d57dd1cd5629@googlegroups.com> <241a25d0-e840-4d2f-b39f-e5bcdf9a6209@googlegroups.com> <23322f1c-76c2-4ab5-8098-421a3394bc04@googlegroups.com> <1410516a-584f-4fb1-94a2-57bb9ee80a57@googlegroups.com> <1010051e-eb15-454e-bbe1-5b210fb9f7dd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <721c1198-6dad-4fa8-bdc6-b46b1047fcef@googlegroups.com> Subject: Re: Passing a 2d array into a package and returning the same processed 2d back to main From: AdaMagica Injection-Date: Wed, 05 Oct 2016 19:57:07 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 2570915502 X-Received-Bytes: 2210 Xref: news.eternal-september.org comp.lang.ada:32002 Date: 2016-10-05T12:57:06-07:00 List-Id: Am Mittwoch, 5. Oktober 2016 21:53:07 UTC+2 schrieb James Brewer: > Please remember I'm just starting in this language. So if I say anything = ridiculous it is not intentional. It doesn't seem to allow for declarations= after the "begin" statement. Also, it worked without the package implement= ation as best as I could tell with my test data. Of course not. The declare block is used for this purpose: N :=3D Some_Value; declare My_Array: My_Array_Type (1 .. N); begin ... end;