comp.lang.ada
 help / color / mirror / Atom feed
* enumration using integers?
@ 2001-04-19 10:58 Sven Nilsson
  2001-04-19 12:42 ` Marc A. Criley
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sven Nilsson @ 2001-04-19 10:58 UTC (permalink / raw)


Hello

I have a little problem that I don't want to spend time solving...

If I want to make an enumerated type using integers, like:

   type Distance is (10, 20, 30, 40, 50);

The compiler will complain about missing identifiers. How do I get the
blasted machine to understand that the integers are the identifiers I
want?

Thanks
-Sven



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

end of thread, other threads:[~2001-04-20 18:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-19 10:58 enumration using integers? Sven Nilsson
2001-04-19 12:42 ` Marc A. Criley
2001-04-19 13:02 ` Philip Anderson
2001-04-19 14:50 ` Ted Dennison
2001-04-20  5:22   ` Sven Nilsson
2001-04-20 13:57     ` Ted Dennison
2001-04-20 14:35       ` Sven Nilsson
2001-04-20 15:50         ` Keith Thompson
2001-04-20 18:18         ` Ted Dennison
2001-04-20 15:52     ` Samuel T. Harris

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