comp.lang.ada
 help / color / mirror / Atom feed
From: Larry Hazel <lhhazel@otelco.net>
Subject: Re: Ada problem
Date: Sun, 14 Nov 2004 19:08:01 -0600
Date: 2004-11-14T19:08:01-06:00	[thread overview]
Message-ID: <zjTld.141$9b1.3806@eagle.america.net> (raw)
In-Reply-To: <22f5260.0411141547.1355d0d1@posting.google.com>

ada_newbie wrote:

> 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'Image(Days'First));

> end values;



  reply	other threads:[~2004-11-15  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 23:47 Ada problem ada_newbie
2004-11-15  1:08 ` Larry Hazel [this message]
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