comp.lang.ada
 help / color / mirror / Atom feed
From: "Gautier Write-only-address" <gautier_niouzes@hotmail.com>
Subject: Re: DEC Ada and packages
Date: Thu, 07 Feb 2002 05:59:37 +0000
Date: 2002-02-07T05:59:37+00:00	[thread overview]
Message-ID: <mailman.1013061605.13551.comp.lang.ada@ada.eu.org> (raw)

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




             reply	other threads:[~2002-02-07  5:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-07  5:59 Gautier Write-only-address [this message]
2002-02-07 18:19 ` DEC Ada and packages Zane H. Healy
  -- strict thread matches above, loose matches on Subject: below --
2002-02-07  4:44 Zane H. Healy
2002-02-07 13:44 ` Charlie McCutcheon
2002-02-07 18:34   ` Zane H. Healy
2002-02-07 20:52     ` Marin David Condic
2002-02-07 21:29   ` Jeffrey Carter
2002-02-15 13:25     ` Charlie McCutcheon
2002-02-15 13:28       ` Ed Falis
2002-02-15 17:33       ` Jeffrey Carter
2002-02-16  1:45     ` Robert Dewar
2002-02-16  2:08       ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox