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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-14 19:20:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.mi.home.com.POSTED!not-for-mail From: "McDoobie" Subject: Only one compilation unit. Newsgroups: comp.lang.ada Organization: Caffinated Corps User-Agent: Pan/0.8.1beta4 (Unix) X-No-Productlinks: Yes Message-ID: Date: Fri, 15 Jun 2001 02:20:05 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 992571605 24.0.109.49 (Thu, 14 Jun 2001 19:20:05 PDT) NNTP-Posting-Date: Thu, 14 Jun 2001 19:20:05 PDT Xref: archiver1.google.com comp.lang.ada:8760 Date: 2001-06-15T02:20:05+00:00 List-Id: Alright, I'm writing a small program using two procedures. Now I'm coding both procedures within the same .adb file. When I go to compile the program I get an error that says "end of file expected, can only have one compilation unit." Now, that only happens when writing programs with more than one procedure. Do I have to put each different procedure in a seperate text file? Or is it necessary to write .ads which describe each and every procedure? Any help would be appreciated. Thanks. McDoobie chris@dont.spam.me