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.66.174.228 with SMTP id bv4mr2386869pac.148.1475701116845; Wed, 05 Oct 2016 13:58:36 -0700 (PDT) X-Received: by 10.157.39.131 with SMTP id c3mr1313347otb.15.1475701116795; Wed, 05 Oct 2016 13:58:36 -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.glorb.com!l13no343537itl.0!news-out.google.com!203ni1009itk.0!nntp.google.com!o19no345526ito.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 5 Oct 2016 13:58:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:2c4:101:d816:d1dc:87b4:993b:ab39; posting-account=bfqYCQoAAADhOBV9jx08D2gm5EA72sgj NNTP-Posting-Host: 2601:2c4:101:d816:d1dc:87b4:993b:ab39 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: <7c7607d3-a40f-4a47-b22e-6bb41b94aa1f@googlegroups.com> Subject: Re: Passing a 2d array into a package and returning the same processed 2d back to main From: James Brewer Injection-Date: Wed, 05 Oct 2016 20:58:36 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:32006 Date: 2016-10-05T13:58:36-07:00 List-Id: On Wednesday, October 5, 2016 at 3:18:01 PM UTC-5, Jeffrey R. Carter wrote: > On 10/05/2016 12:53 PM, James Brewer wrote: > > > > 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 > > implementation as best as I could tell with my test data. > > Yes, after "begin" but before "exception" or "end" you can only have statements. > But it would be a good idea to be familiar with the kinds of statements, which > are given in ARM 5 > > http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-5.html > > ARM 5.1 lists all the kinds of statements. Of particular interest might be the > block statement, described in more detail in ARM 5.6. > > -- > Jeff Carter > "You can never forget too much about C++." > 115 Implementing the block statement looks like it may have solved the problem. I will test it further. Thanks for the help