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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dbcd0557f06cdbfa X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-14 21:43:35 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!howland.erols.net!newshub2.home.com!news.home.com!news1.rdc1.mi.home.com.POSTED!not-for-mail From: "McDoobie" Subject: Re: Only one compilation unit. Newsgroups: comp.lang.ada Organization: Caffinated Corps References: <3B297ED4.2BD6DF79@engineer.com> User-Agent: Pan/0.8.1beta4 (Unix) X-No-Productlinks: Yes Message-ID: Date: Fri, 15 Jun 2001 04:43:34 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 992580214 24.0.109.49 (Thu, 14 Jun 2001 21:43:34 PDT) NNTP-Posting-Date: Thu, 14 Jun 2001 21:43:34 PDT Xref: archiver1.google.com comp.lang.ada:8766 Date: 2001-06-15T04:43:34+00:00 List-Id: In article <3B297ED4.2BD6DF79@engineer.com>, "B. Douglas Hilton" wrote: > > --------------BA8245C635FE00B674EB8DF5 > Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: > 7bit > > I ran into this too, but figured it out pretty fast. > > You can nest a procedure almost anywhere in Ada but it must be in the > "main" compilation unit. > > Example: > > -- Some program "something.adb" > > procedure SomeThing is > > procedure SubProc is begin > ... > end SubProc; > > begin > SubProc; > end SomeThing; > > > Get the idea? > > - Doug I got it. McDoobie chris@dont.spam.me