comp.lang.ada
 help / color / mirror / Atom feed
From: Phil Slater <phil.slater@amsjv.com>
Subject: Re: Hey I got the same assignment question!
Date: Wed, 13 Sep 2000 12:25:52 +0100
Date: 2000-09-13T12:25:52+01:00	[thread overview]
Message-ID: <39BF643F.11EF24A@amsjv.com> (raw)
In-Reply-To: 39bd2540.9602808@news.cowan.edu.au

It's an enumeration type. I don't see the problem. Try this
-------------------------------
with System, Text_Io;
procedure Show_Name is
   package Name_Io is new Text_Io.Enumeration_Io(System.Name);
begin
   Text_Io.Put_Line("Values of type System.Name are:");
   for N in System.Name loop
      Name_Io.Put(N);
   end loop;
end Show_Name;
-------------------------------
or have I missed the point of your question?

Phil Slater

The Tiny Lobster wrote:

> Hmmmm ECU Mount Lawely Comp Sci Methods?? :-)
>
> On Tue, 5 Sep 2000 17:42:19 -0700, "Damon Carter" <vins@iinet.net.au>
> wrote:
>
> >The package System described in chapter 13 section 7 of the Ada95 language
> >reference manual.  This package defines a type called Name. Can anybody
> >write an Ada95 program to display all the relevant attributes for Name. If
> >so please help
> >
> >thanks
> >       Carter
> >
> >
>
> "We are monkeys, camping in the future"
>
> "I'm not interrupting you, I'm putting our conversation in full-duplex mode." - Antone Roundy




      reply	other threads:[~2000-09-13 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-06  0:42 ada programmer Damon Carter
2000-09-05 12:03 ` Ted Dennison
2000-09-05 13:57   ` Marin David Condic
2000-09-05 17:44   ` Mathias Dolidon
2000-09-11 18:33 ` Hey I got the same assignment question! The Tiny Lobster
2000-09-13 11:25   ` Phil Slater [this message]
replies disabled

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