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,b9718fc889b868b7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-07 10:51:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!not-for-mail From: "Zane H. Healy" Newsgroups: comp.lang.ada Subject: Re: DEC Ada and packages Date: 7 Feb 2002 18:19:16 GMT Organization: Aracnet Message-ID: References: NNTP-Posting-Host: p-760.newsdawg.com User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.19 (i686)) Xref: archiver1.google.com comp.lang.ada:19726 Date: 2002-02-07T18:19:16+00:00 List-Id: Gautier Write-only-address wrote: > Hello! > In your powers.ada you have the "code" (the body), but > the "interface" (the specification) for using Powers > is missing. > Before "package body...", you may want to add: > --- > package Powers is > function Square (Arg: Integer) return Integer; > function Cube (Arg: Integer) return Integer; > end Powers; > --- > Then it should compile fine. Thank You!!! That little bit of syntax has been driving me crazy for two days. The problem is the one tutorial I'd been looking at showed the two seperatly, and by the time I thought to try putting it all in the same file I forgot the 'package Powers is' and 'end Powers;' lines :^( Zane