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=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,REPLYTO_WITHOUT_TO_CC, SPOOFED_FREEMAIL_NO_RDNS autolearn=no 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-06 22:00:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Gautier Write-only-address" Newsgroups: comp.lang.ada Subject: Re: DEC Ada and packages Date: Thu, 07 Feb 2002 05:59:37 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1013061607 54274 137.194.161.2 (7 Feb 2002 06:00:07 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 7 Feb 2002 06:00:07 +0000 (UTC) Return-Path: X-Originating-IP: [217.162.106.186] X-OriginalArrivalTime: 07 Feb 2002 05:59:38.0212 (UTC) FILETIME=[A04B1A40:01C1AF9C] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:19689 Date: 2002-02-07T05:59:37+00:00 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. HTH _________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, address on the Web site! _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx