comp.lang.ada
 help / color / mirror / Atom feed
From: goog.9.wurstbix@spamgourmet.com (ada_newbie)
Subject: Ada problem
Date: 14 Nov 2004 15:47:31 -0800
Date: 2004-11-14T15:47:31-08:00	[thread overview]
Message-ID: <22f5260.0411141547.1355d0d1@posting.google.com> (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;



             reply	other threads:[~2004-11-14 23:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 23:47 ada_newbie [this message]
2004-11-15  1:08 ` Ada problem Larry Hazel
2004-11-15  1:15   ` Sandro Magi
2004-11-15 12:49     ` Marin David Condic
replies disabled

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