comp.lang.ada
 help / color / mirror / Atom feed
From: David Starner <dstarner98@aasaa.ofe.org>
Subject: First attribute on Enumerated types
Date: 1999/02/23
Date: 1999-02-23T00:00:00+00:00	[thread overview]
Message-ID: <36D34E02.BED0BFC0@aasaa.ofe.org> (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




             reply	other threads:[~1999-02-23  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-23  0:00 David Starner [this message]
     [not found] <001e01be5f9d$ebe4d7e0$5b824a0c@rogers>
1999-02-23  0:00 ` First attribute on Enumerated types David Starner
1999-02-24  0:00   ` Mark A Biggar
1999-02-24  0:00   ` John English
1999-02-24  0:00   ` Matthew Heaney
replies disabled

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