comp.lang.ada
 help / color / mirror / Atom feed
* Ada problem
@ 2004-11-14 23:47 ada_newbie
  2004-11-15  1:08 ` Larry Hazel
  0 siblings, 1 reply; 4+ messages in thread
From: ada_newbie @ 2004-11-14 23:47 UTC (permalink / raw)


Hello,

i'm new to ada and i have a simple problem. I don't know how to get an
output of enumeration types. The following example doesn't work:


with Ada.Text_IO;

procedure values is

   type Days is (monday, tuesday, wednesday); 

begin

   Ada.Text_IO.Put(Days'First);

end values;



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

end of thread, other threads:[~2004-11-15 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 23:47 Ada problem ada_newbie
2004-11-15  1:08 ` Larry Hazel
2004-11-15  1:15   ` Sandro Magi
2004-11-15 12:49     ` Marin David Condic

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