From: wheeler@aphrodite (David Wheeler)
Subject: Re: type declaration problem(beginner)
Date: 1997/03/05
Date: 1997-03-05T00:00:00+00:00 [thread overview]
Message-ID: <5fka4h$d34@news.ida.org> (raw)
In-Reply-To: 1997Feb26.120011.27@whisky
dawkins@whisky.nrl.navy.mil (Scott Dawkins) wrote:
: I have a type declarations, example:
: type Month is (Jan, Feb, etc...)
: I want to write another declaration for a array of boolean values, Set_type.
: Use the type Month for the indices into the array.
: Any help from someone who may know would be helpful. I'm just learning ada
: and having a hard time following the book. Oh yea, anyone know of any good
: books on ada.
Use:
type Set_Type is array(Month) of Boolean;
For good books, try out my "Lovelace" Ada95 tutorial.
It's available on-line at:
http://www.adahome.com/Tutorials/Lovelace/lovelace.htm
By the end of the March 1997 it should be available as a book.
--- David A. Wheeler
dwheeler@ida.org
prev parent reply other threads:[~1997-03-05 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-26 0:00 type declaration problem(beginner) dawkins
1997-03-02 0:00 ` johnherro
1997-03-02 0:00 ` Robert Dewar
1997-03-03 0:00 ` johnherro
1997-03-05 0:00 ` David Wheeler [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox