From: reinert@ola.npolar.no (Reinert Korsnes)
Subject: Elemantary Ada question
Date: 2000/11/28
Date: 2000-11-28T12:37:46+00:00 [thread overview]
Message-ID: <9008uq$hmi$1@news.uit.no> (raw)
Hi,
Given the following simple test program:
with Text_IO;
use Text_IO;
procedure Atest1 is
type E1 is (a, b, c);
package E1_Io is new Text_IO.Enumeration_Io (E1);
use E1_Io;
A : Float;
begin
Put(E1'First);
end Atest1;
Can anybody explain me why "A : Float" conflicts
with the declaration: "type E1 is (a, b, c);" ?
reinert
--
Norwegian Polar Institute
Polar Environment Center
N-9296 Tromso
Norway
Fax: +47 77750501
http://geophys.npolar.no/~reinert/personal.html
next reply other threads:[~2000-11-28 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-28 0:00 Reinert Korsnes [this message]
2000-11-28 0:00 ` Elemantary Ada question Lutz Donnerhacke
2000-11-28 0:00 ` Reinert Korsnes
2000-11-28 0:00 ` Mats Weber
2000-11-28 0:00 ` Ted Dennison
2000-11-28 0:00 ` Lutz Donnerhacke
2000-11-28 0:00 ` Robert A Duff
2000-11-28 0:00 ` Scott Ingram
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox