From: gautier_niouzes@hotmail.com (Gautier)
Subject: Re: Completion error
Date: 19 Oct 2002 07:54:52 -0700
Date: 2002-10-19T14:54:53+00:00 [thread overview]
Message-ID: <17cd177c.0210190654.1f1d3004@posting.google.com> (raw)
In-Reply-To: mailman.1034973782.2809.comp.lang.ada@ada.eu.org
> Hi , what means this :
>
> services.ads: Error: line 7 col 6 LRM:3.10.1(3), Completion required for
> incomplete type 'reservation', Continuing
If you want to make the contents of the type 'reservation'
not direclty referenceable by the user,
you have to make it a private type and describe it in the
"private" part of the package 'Services':
package Services is
type reservation is private;
type louer is access reservation;
private
type auto is (econo,polluting);
type reservation is record
num : natural := 0;
plancher : integer := 20;
plafond : integer := 20;
classe : auto := econo;
nomclient : string(1..256);
end record;
end Services;
HTH
________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, address on the Web site!
next prev parent reply other threads:[~2002-10-19 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 20:42 Completion error Dominic D'Apice
2002-10-19 14:54 ` Gautier [this message]
[not found] <000001c276e6$da5a6cb0$0101a8c0@Dominik>
2002-10-18 21:11 ` David C. Hoos
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox