comp.lang.ada
 help / color / mirror / Atom feed
* First attribute on Enumerated types
@ 1999-02-23  0:00 David Starner
  0 siblings, 0 replies; 5+ messages in thread
From: David Starner @ 1999-02-23  0:00 UTC (permalink / raw)


I'm trying to compile a program that refers to Color'First, and GNAT
gives an error that 
tree.ads:12:91: prefix for "First" attribute must be array
According to the Ada book at hand, First is a valid attribute for
enumerated types. What am I doing wrong? How do I get the first item in
an enumerated list?
-- 
The irony is, there ARE drugs that ENHANCE it. This says something
profound about either science or medicine or people or muppets or all
four. - S. John Ross




^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <001e01be5f9d$ebe4d7e0$5b824a0c@rogers>]

end of thread, other threads:[~1999-02-24  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-23  0:00 First attribute on Enumerated types David Starner
     [not found] <001e01be5f9d$ebe4d7e0$5b824a0c@rogers>
1999-02-23  0:00 ` David Starner
1999-02-24  0:00   ` Mark A Biggar
1999-02-24  0:00   ` Matthew Heaney
1999-02-24  0:00   ` John English

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