comp.lang.ada
 help / color / mirror / Atom feed
From: G <Dizzy@interact.net.au>
Subject: oops - same with neater formatting
Date: 1999/11/09
Date: 1999-11-09T00:00:00+00:00	[thread overview]
Message-ID: <3826E0A0.8C37DCA8@interact.net.au> (raw)
In-Reply-To: 3826DFBF.52AC2680@interact.net.au

> ---------------------------
>
> package Problem is
>
>
>   type Component is (Single, Dependent, Group);
>   type Component_List is array (Component'First..Component'Last) of
> Component;
>
>
>
>   type Simple_Problem is tagged
>   record
>     Unit : Component;
>   end record;
>
>   type Complex_Problem is new Simple_Problem with
>   record
>     Simple_Structure : Component_List;
>     Simple_Recursive_Reference : Simple_Problem;
>   end record;
>
>   type Compound_Problem is new Complex_Problem with
>   record
>     Complex_Structure : Component_List;
>
>     Complex_Recursive_Reference : Complex_Problem;
>   end record;
>
> end Problem;
> ------------------------------------------------------------------------------





  parent reply	other threads:[~1999-11-09  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-09  0:00 *\\~record depth~//* G
1999-11-08  0:00 ` Nick Roberts
1999-11-09  0:00   ` Robert Dewar
1999-11-09  0:00     ` David C. Hoos, Sr.
1999-11-09  0:00       ` Robert Dewar
1999-11-09  0:00 ` G [this message]
1999-11-15  0:00 ` Mario Amado Alves
1999-11-15  0:00   ` Matthew Heaney
1999-11-16  0:00     ` G
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00         ` Robert A Duff
1999-11-16  0:00       ` Robert Dewar
replies disabled

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