From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Constructors with multiple inheritance
Date: Wed, 9 Nov 2011 23:09:51 -0800 (PST)
Date: 2011-11-09T23:09:51-08:00 [thread overview]
Message-ID: <cc6a2aa6-4682-4272-b182-ba2a2c5d92d9@g21g2000yqc.googlegroups.com> (raw)
In-Reply-To: 6366850.176.1320896821400.JavaMail.geo-discussion-forums@yqcm23
package Par_Pkg is
type Par_Class is tagged private;
function Construct (aValue: Integer; aName: Integer)
return Par_Class;
private
type Par_Class is tagged record
theValue: Integer;
theName : Integer;
end record;
end Par_Pkg;
package body Par_Pkg is
function Construct (aValue: Integer; aName: Integer)
return Par_Class is
begin
return (theValue => aValue,
theName => aName);
end Construct;
end Par_Pkg;
with Par_Pkg;
use Par_Pkg;
procedure Par_Main is
Par_Obj: Par_Class := Construct (aValue => 12, aName => 23);
begin
null;
end Par_Main;
next prev parent reply other threads:[~2011-11-10 7:12 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 19:40 Constructors with multiple inheritance Rego, P.
2011-09-29 20:20 ` Dmitry A. Kazakov
2011-09-30 3:11 ` Rego, P.
2011-09-30 7:36 ` Dmitry A. Kazakov
2011-09-30 14:04 ` Rego, P.
2011-09-30 16:29 ` Robert A Duff
2011-09-30 19:14 ` Rego, P.
2011-09-30 16:42 ` Dmitry A. Kazakov
2011-09-30 19:42 ` Rego, P.
2011-10-06 12:46 ` Julian Leyh
2011-11-09 2:24 ` Rego, P.
2011-11-09 8:39 ` Dmitry A. Kazakov
2011-11-10 3:47 ` Rego, P.
2011-11-10 7:09 ` AdaMagica [this message]
2011-11-10 7:20 ` AdaMagica
2011-11-10 8:35 ` Dmitry A. Kazakov
2011-11-12 15:16 ` Rego, P.
2011-11-12 15:30 ` Rego, P.
2011-11-12 16:28 ` Dmitry A. Kazakov
2011-11-12 17:41 ` Rego, P.
2011-11-10 8:33 ` Simon Wright
2011-11-10 9:01 ` Georg Bauhaus
2011-11-10 9:09 ` Georg Bauhaus
2011-11-10 18:16 ` Jeffrey Carter
2011-11-10 19:39 ` Dmitry A. Kazakov
2011-11-09 9:00 ` Simon Wright
2011-11-10 3:54 ` Rego, P.
2011-10-07 0:08 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox