comp.lang.ada
 help / color / mirror / Atom feed
* Question in french (a simple question, very simple)
@ 1998-11-16  0:00 Pierre
  1998-11-19  0:00 ` Niklas Holsti
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre @ 1998-11-16  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

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







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question in french (a simple question, very simple)
  1998-11-16  0:00 Question in french (a simple question, very simple) Pierre
@ 1998-11-19  0:00 ` Niklas Holsti
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Holsti @ 1998-11-19  0:00 UTC (permalink / raw)


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;




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-19  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-16  0:00 Question in french (a simple question, very simple) Pierre
1998-11-19  0:00 ` Niklas Holsti

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