From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4a1b472243fcf98,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!not-for-mail From: goog.9.wurstbix@spamgourmet.com (ada_newbie) Newsgroups: comp.lang.ada Subject: Ada problem Date: 14 Nov 2004 15:47:31 -0800 Organization: http://groups.google.com Message-ID: <22f5260.0411141547.1355d0d1@posting.google.com> NNTP-Posting-Host: 217.89.16.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1100476051 7792 127.0.0.1 (14 Nov 2004 23:47:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 14 Nov 2004 23:47:31 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:6194 Date: 2004-11-14T15:47:31-08:00 List-Id: 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;