comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <nholsti@icon.fi>
Subject: Re: Question in french (a simple question, very simple)
Date: 1998/11/19
Date: 1998-11-19T00:00:00+00:00	[thread overview]
Message-ID: <365345E5.DC087FF9@icon.fi> (raw)
In-Reply-To: 72ojbg$hm9$1@front2.grolier.fr

Pierre wrote:
> 
> Comment d�finir un type caract�re et son package d'entr�e-sortie !?

with Ada.Text_IO;

procedure CHART is

   type Marks_T is ('M', 'A', 'R', 'K', 'S',
                    'm', 'a', 'r', 'k', 's');

   package Marks_IO is new Ada.Text_IO.Enumeration_IO (Marks_T);

begin
   for M in Marks_T loop
      Marks_IO.Put (M);
      Ada.Text_IO.New_Line;
   end loop;
end CHART;




      reply	other threads:[~1998-11-19  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-16  0:00 Question in french (a simple question, very simple) Pierre
1998-11-19  0:00 ` Niklas Holsti [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